Serializable, Cloneable, Mappublic class SpreadMap extends HashMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>| Constructor | Description |
|---|---|
SpreadMap(Object[] values) |
|
SpreadMap(List list) |
|
SpreadMap(Map map) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(SpreadMap that) |
|
boolean |
equals(Object that) |
|
int |
hashCode() |
|
Object |
put(Object key,
Object value) |
|
void |
putAll(Map t) |
|
Object |
remove(Object key) |
|
String |
toString() |
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, putIfAbsent, remove, replace, replace, replaceAll, size, valuespublic 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 Mapequals in class AbstractMappublic boolean equals(SpreadMap that)
public int hashCode()
hashCode in interface MaphashCode in class AbstractMappublic String toString()
toString in class AbstractMapthis