public class SpreadMap extends HashMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
SpreadMap(List list) |
SpreadMap(Map map) |
SpreadMap(Object[] values) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object that) |
boolean |
equals(SpreadMap that) |
int |
hashCode() |
Object |
put(Object key,
Object value) |
void |
putAll(Map t) |
Object |
remove(Object key) |
String |
toString() |
public SpreadMap(Object[] values)
public SpreadMap(Map map)
public SpreadMap(List list)
list
- the list to make spreadablepublic void putAll(Map t)
public boolean equals(Object that)
equals
in interface Map
equals
in class AbstractMap
public boolean equals(SpreadMap that)
public int hashCode()
hashCode
in interface Map
hashCode
in class AbstractMap
public String toString()
toString
in class AbstractMap
this