com.liferay.portal.kernel.util
Class InheritableMap<K,V>
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<K,V>
com.liferay.portal.kernel.util.InheritableMap<K,V>
- All Implemented Interfaces:
- Serializable, Cloneable, Map<K,V>
public class InheritableMap<K,V>
- extends HashMap<K,V>
- See Also:
- Serialized Form
InheritableMap
public InheritableMap()
InheritableMap
public InheritableMap(Map<? extends K,? extends V> map)
clear
public void clear()
- Specified by:
clear
in interface Map<K,V>
- Overrides:
clear
in class HashMap<K,V>
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKey
in interface Map<K,V>
- Overrides:
containsKey
in class HashMap<K,V>
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValue
in interface Map<K,V>
- Overrides:
containsValue
in class HashMap<K,V>
get
public V get(Object key)
- Specified by:
get
in interface Map<K,V>
- Overrides:
get
in class HashMap<K,V>
getParentMap
public Map<K,V> getParentMap()
remove
public V remove(Object key)
- Specified by:
remove
in interface Map<K,V>
- Overrides:
remove
in class HashMap<K,V>
setParentMap
public void setParentMap(Map<? extends K,? extends V> parentMap)