public class LazyValueMap extends java.util.AbstractMap<java.lang.String,java.lang.Object> implements ValueMap<java.lang.String,java.lang.Object>
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.
|
java.util.Set<java.util.Map.Entry<java.lang.String,java.lang.Object>> |
entrySet() |
java.lang.Object |
get(java.lang.Object key)
Gets the item by key from the mapping.
|
boolean |
hydrated()
Has the map been hydrated.
|
java.util.Map.Entry<java.lang.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(java.lang.String key,
java.lang.Object value) |
int |
size() |
java.lang.String |
toString() |
java.util.Collection<java.lang.Object> |
values() |
clear, clone, containsKey, containsValue, equals, hashCode, isEmpty, keySet, putAll, remove
public LazyValueMap(boolean lazyChop)
public LazyValueMap(boolean lazyChop, int initialSize)
public final void add(MapItemValue miv)
public final java.lang.Object get(java.lang.Object key)
get
in interface java.util.Map<java.lang.String,java.lang.Object>
get
in class java.util.AbstractMap<java.lang.String,java.lang.Object>
key
- to lookuppublic final void chopMap()
public Value put(java.lang.String key, java.lang.Object value)
put
in interface java.util.Map<java.lang.String,java.lang.Object>
put
in class java.util.AbstractMap<java.lang.String,java.lang.Object>
public java.util.Set<java.util.Map.Entry<java.lang.String,java.lang.Object>> entrySet()
entrySet
in interface java.util.Map<java.lang.String,java.lang.Object>
entrySet
in class java.util.AbstractMap<java.lang.String,java.lang.Object>
public java.util.Collection<java.lang.Object> values()
values
in interface java.util.Map<java.lang.String,java.lang.Object>
values
in class java.util.AbstractMap<java.lang.String,java.lang.Object>
public int size()
size
in interface java.util.Map<java.lang.String,java.lang.Object>
size
in class java.util.AbstractMap<java.lang.String,java.lang.Object>
public java.lang.String toString()
toString
in class java.util.AbstractMap<java.lang.String,java.lang.Object>
public int len()
ValueMap
public boolean hydrated()
ValueMap