public class LazyValueMap extends AbstractMap<String,Object> implements ValueMap<String,Object>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
LazyValueMap(boolean lazyChop) |
LazyValueMap(boolean lazyChop,
int initialSize) |
Modifier and Type | Method and Description |
---|---|
void |
add(MapItemValue miv)
Adds a new MapItemValue to the mapping.
|
void |
chopMap()
Chop this map.
|
Set<Map.Entry<String,Object>> |
entrySet() |
Object |
get(Object key)
Gets the item by key from the mapping.
|
boolean |
hydrated()
Has the map been hydrated.
|
Map.Entry<String,Value>[] |
items()
Give me the items in the map without hydrating the map.
|
int |
len()
Return size w/o hydrating the map.
|
Value |
put(String key,
Object value) |
int |
size() |
String |
toString() |
Collection<Object> |
values() |
clear, clone, containsKey, containsValue, equals, hashCode, isEmpty, keySet, putAll, remove
finalize, getClass, notify, notifyAll, wait, wait, wait
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, equals, forEach, getOrDefault, hashCode, isEmpty, keySet, merge, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll
public LazyValueMap(boolean lazyChop)
public LazyValueMap(boolean lazyChop, int initialSize)
public final void add(MapItemValue miv)
public final void chopMap()
public Collection<Object> values()
public int size()
public String toString()
toString
in class AbstractMap<String,Object>
public int len()
ValueMap
public boolean hydrated()
ValueMap