public class ValueStackShadowMap extends HashMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
ValueStackShadowMap(ValueStack valueStack)
Constructs an instance of ValueStackShadowMap.
|
Modifier and Type | Method and Description |
---|---|
boolean |
containsKey(Object key)
Implementation of containsKey(), overriding HashMap implementation.
|
Object |
get(Object key)
Implementation of get(), overriding HashMap implementation.
|
clear, clone, compute, computeIfAbsent, computeIfPresent, containsValue, entrySet, forEach, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
equals, hashCode, toString
public ValueStackShadowMap(ValueStack valueStack)
valueStack
- - the underlying valuestackpublic boolean containsKey(Object key)
containsKey
in interface Map
containsKey
in class HashMap
key
- - The key to check in HashMap and if not found to check on valueStack.HashMap.containsKey(java.lang.Object)
public Object get(Object key)
get
in interface Map
get
in class HashMap
key
- - The key to get in HashMap and if not found there from the valueStack.HashMap.get(java.lang.Object)
Copyright © 2000–2023 Apache Software Foundation. All rights reserved.