Liferay 6.0.5

com.liferay.portal.kernel.util
Class InheritableMap<K,V>

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<K,V>
          extended by 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

Constructor Summary
InheritableMap()
           
InheritableMap(Map<? extends K,? extends V> map)
           
 
Method Summary
 void clear()
           
 boolean containsKey(Object key)
           
 boolean containsValue(Object value)
           
 V get(Object key)
           
 Map<K,V> getParentMap()
           
 V remove(Object key)
           
 void setParentMap(Map<? extends K,? extends V> parentMap)
           
 
Methods inherited from class java.util.HashMap
clone, entrySet, isEmpty, keySet, put, putAll, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

InheritableMap

public InheritableMap()

InheritableMap

public InheritableMap(Map<? extends K,? extends V> map)
Method Detail

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)

Liferay 6.0.5