Package gw.util
Class ScopedMap<K,V>
java.lang.Object
java.util.AbstractMap<K,V>
gw.util.ScopedMap<K,V>
- All Implemented Interfaces:
Map<K,V>
-
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> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()booleancontainsKey(Object key) booleancontainsKeyDirect(K key) booleancontainsValue(Object value) entrySet()private voidgetEntryMap(Map<K, V> results) private voidbooleanisEmpty()keySet()popScope()voidintsize()values()Methods inherited from class java.util.AbstractMap
clone, equals, hashCode, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Field Details
-
_parent
-
_overlayMap
-
-
Constructor Details
-
ScopedMap
public ScopedMap() -
ScopedMap
-
-
Method Details
-
size
public int size() -
isEmpty
public boolean isEmpty() -
containsKey
- Specified by:
containsKeyin interfaceMap<K,V> - Overrides:
containsKeyin classAbstractMap<K,V>
-
containsValue
- Specified by:
containsValuein interfaceMap<K,V> - Overrides:
containsValuein classAbstractMap<K,V>
-
get
-
put
-
remove
-
putAll
-
pushScope
-
popScope
-
clear
public void clear() -
keySet
-
values
-
entrySet
-
getEntryMap
-
getEntryMap
-
containsKeyDirect
-
getDirect
-
initOverlayMap
private void initOverlayMap()
-