public class SpreadMap
extends java.util.HashMap
Constructor and Description |
---|
SpreadMap(java.util.List list) |
SpreadMap(java.util.Map map) |
SpreadMap(java.lang.Object[] values) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object that) |
boolean |
equals(SpreadMap that) |
java.lang.Object |
get(java.lang.Object obj) |
int |
hashCode() |
java.lang.Object |
put(java.lang.Object key,
java.lang.Object value) |
void |
putAll(java.util.Map t) |
java.lang.Object |
remove(java.lang.Object key) |
int |
size() |
java.lang.String |
toString() |
public SpreadMap(java.lang.Object[] values)
public SpreadMap(java.util.Map map)
public SpreadMap(java.util.List list)
list
- the list to make spreadablepublic java.lang.Object get(java.lang.Object obj)
get
in interface java.util.Map
get
in class java.util.HashMap
public java.lang.Object put(java.lang.Object key, java.lang.Object value)
put
in interface java.util.Map
put
in class java.util.HashMap
public java.lang.Object remove(java.lang.Object key)
remove
in interface java.util.Map
remove
in class java.util.HashMap
public void putAll(java.util.Map t)
putAll
in interface java.util.Map
putAll
in class java.util.HashMap
public int size()
size
in interface java.util.Map
size
in class java.util.HashMap
public boolean equals(java.lang.Object that)
equals
in interface java.util.Map
equals
in class java.util.AbstractMap
public boolean equals(SpreadMap that)
public int hashCode()
hashCode
in interface java.util.Map
hashCode
in class java.util.AbstractMap
public java.lang.String toString()
toString
in class java.util.AbstractMap
this