Package org.apache.groovy.json.internal
Class LazyMap
This maps only builds once you ask for a key for the first time.
 It is designed to not incur the overhead of creating a map unless needed.
- 
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 SummaryMethods inherited from class java.lang.Objectfinalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Mapcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
- 
Constructor Details- 
LazyMappublic LazyMap()
- 
LazyMappublic LazyMap(int initialSize) 
 
- 
- 
Method Details- 
put
- 
entrySet
- 
sizepublic int size()
- 
isEmptypublic boolean isEmpty()
- 
containsValue- Specified by:
- containsValuein interface- Map<String,- Object> 
- Overrides:
- containsValuein class- AbstractMap<String,- Object> 
 
- 
containsKey- Specified by:
- containsKeyin interface- Map<String,- Object> 
- Overrides:
- containsKeyin class- AbstractMap<String,- Object> 
 
- 
get
- 
remove
- 
putAll
- 
clearpublic void clear()
- 
keySet
- 
values
- 
equals
- 
hashCodepublic int hashCode()
- 
toString- Overrides:
- toStringin class- AbstractMap<String,- Object> 
 
- 
clone- Overrides:
- clonein class- AbstractMap<String,- Object> 
- Throws:
- CloneNotSupportedException
 
- 
clearAndCopy
- 
growpublic static <V> V[] grow(V[] array) 
 
-