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() |
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