Package org.apache.groovy.json.internal
Class LazyMap
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- org.apache.groovy.json.internal.LazyMap
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
LazyMap
clearAndCopy()
protected Object
clone()
boolean
containsKey(Object key)
boolean
containsValue(Object value)
Set<Map.Entry<String,Object>>
entrySet()
boolean
equals(Object o)
Object
get(Object key)
static <V> V[]
grow(V[] array)
int
hashCode()
boolean
isEmpty()
Set<String>
keySet()
Object
put(String key, Object value)
void
putAll(Map m)
Object
remove(Object key)
int
size()
String
toString()
Collection<Object>
values()
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
-
-
Method Detail
-
size
public int size()
-
isEmpty
public boolean isEmpty()
-
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValue
in interfaceMap<String,Object>
- Overrides:
containsValue
in classAbstractMap<String,Object>
-
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKey
in interfaceMap<String,Object>
- Overrides:
containsKey
in classAbstractMap<String,Object>
-
putAll
public void putAll(Map m)
-
clear
public void clear()
-
values
public Collection<Object> values()
-
equals
public boolean equals(Object o)
-
hashCode
public int hashCode()
-
toString
public String toString()
- Overrides:
toString
in classAbstractMap<String,Object>
-
clone
protected Object clone() throws CloneNotSupportedException
- Overrides:
clone
in classAbstractMap<String,Object>
- Throws:
CloneNotSupportedException
-
clearAndCopy
public LazyMap clearAndCopy()
-
grow
public static <V> V[] grow(V[] array)
-
-