org.apache.struts2.views.jasperreports
Class ValueStackShadowMap
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap
org.apache.struts2.views.jasperreports.ValueStackShadowMap
- All Implemented Interfaces:
- Serializable, Cloneable, Map
public class ValueStackShadowMap
- extends HashMap
Ported to Struts:
- See Also:
- Serialized Form
|
Constructor Summary |
ValueStackShadowMap(com.opensymphony.xwork2.util.ValueStack valueStack)
Constructs an instance of ValueStackShadowMap. |
|
Method Summary |
boolean |
containsKey(Object key)
Implementation of containsKey(), overriding HashMap implementation. |
Object |
get(Object key)
Implementation of get(), overriding HashMap implementation. |
| Methods inherited from class java.util.HashMap |
clear, clone, containsValue, entrySet, isEmpty, keySet, put, putAll, remove, size, values |
ValueStackShadowMap
public ValueStackShadowMap(com.opensymphony.xwork2.util.ValueStack valueStack)
- Constructs an instance of ValueStackShadowMap.
- Parameters:
valueStack - - the underlying valuestack
containsKey
public boolean containsKey(Object key)
- Implementation of containsKey(), overriding HashMap implementation.
- Specified by:
containsKey in interface Map- Overrides:
containsKey in class HashMap
- Parameters:
key - - The key to check in HashMap and if not found to check on valueStack.
- Returns:
- true, if conatins key, false otherwise.
- See Also:
HashMap.containsKey(java.lang.Object)
get
public Object get(Object key)
- Implementation of get(), overriding HashMap implementation.
- Specified by:
get in interface Map- Overrides:
get in class HashMap
- 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:
HashMap.get(java.lang.Object)
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.