public class ValueMapImpl extends java.util.AbstractMap<java.lang.String,Value> implements ValueMap<java.lang.String,Value>
Constructor and Description |
---|
ValueMapImpl() |
Modifier and Type | Method and Description |
---|---|
void |
add(MapItemValue miv)
Add a MapItemValue to the map.
|
java.util.Set<java.util.Map.Entry<java.lang.String,Value>> |
entrySet()
If the map has not been built yet, then we just return a fake entry set.
|
Value |
get(java.lang.Object key)
Get the items for the key.
|
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,
Value value) |
int |
size()
Return the size of the map.
|
java.util.Collection<Value> |
values()
Return a collection of values.
|
clear, clone, containsKey, containsValue, equals, hashCode, isEmpty, keySet, putAll, remove, toString
public void add(MapItemValue miv)
public int len()
ValueMap
public boolean hydrated()
ValueMap
public java.util.Map.Entry<java.lang.String,Value>[] items()
ValueMap
public Value get(java.lang.Object key)
public java.util.Set<java.util.Map.Entry<java.lang.String,Value>> entrySet()
public java.util.Collection<Value> values()