Class ValueStackShadowMap
- All Implemented Interfaces:
- Serializable,- Cloneable,- Map<String,- Object> 
Ported to Struts:
- See Also:
- 
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 SummaryConstructorsConstructorDescriptionValueStackShadowMap(ValueStack valueStack) Constructs an instance of ValueStackShadowMap.
- 
Method SummaryModifier and TypeMethodDescriptionbooleancontainsKey(String key) Implementation of containsKey(), overriding HashMap implementation.Implementation of get(), overriding HashMap implementation.Methods inherited from class java.util.HashMapclear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesMethods inherited from class java.util.AbstractMapequals, hashCode, toString
- 
Constructor Details- 
ValueStackShadowMapConstructs an instance of ValueStackShadowMap.- Parameters:
- valueStack- - the underlying valuestack
 
 
- 
- 
Method Details- 
containsKeyImplementation of containsKey(), overriding HashMap implementation.- Parameters:
- key- - The key to check in HashMap and if not found to check on valueStack.
- Returns:
- true, if contains key, false otherwise.
- See Also:
 
- 
getImplementation of get(), overriding HashMap implementation.- Parameters:
- key- - The key to get in HashMap and if not found there from the valueStack.
- Returns:
- value - The object from HashMap or if null, from the valueStack.
- See Also:
 
 
-