Package org.apache.groovy.json.internal
Class ValueMapImpl
This map is for object serialization mainly.
 The idea is the final conversion of
 the Value objects are delayed until the last possible moment, i.e., just before injected into a bean.
- 
Nested Class SummaryNested classes/interfaces inherited from class java.util.AbstractMapAbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> 
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidadd(MapItemValue miv) Add a MapItemValue to the map.entrySet()If the map has not been built yet, then we just return a fake entry set.Get the items for the key.booleanhydrated()Has the map been hydrated.items()Give me the items in the map without hydrating the map.intlen()Return size w/o hydrating the map.intsize()Return the size of the map.values()Return a collection of values.Methods inherited from class java.util.AbstractMapclear, clone, containsKey, containsValue, equals, hashCode, isEmpty, keySet, putAll, remove, toStringMethods inherited from class java.lang.Objectfinalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Mapclear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, equals, forEach, getOrDefault, hashCode, isEmpty, keySet, merge, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll
- 
Constructor Details- 
ValueMapImplpublic ValueMapImpl()
 
- 
- 
Method Details- 
addAdd a MapItemValue to the map.
- 
lenpublic int len()Description copied from interface:ValueMapReturn size w/o hydrating the map.
- 
hydratedpublic boolean hydrated()Description copied from interface:ValueMapHas the map been hydrated.
- 
itemsDescription copied from interface:ValueMapGive me the items in the map without hydrating the map. Realize that the array is likely larger than the length so array items can be null.
- 
getGet the items for the key.
- 
put
- 
entrySetIf the map has not been built yet, then we just return a fake entry set.
- 
valuesReturn a collection of values.
- 
sizepublic int size()Return the size of the map. Use the map if it has already been created.
 
-