Liferay 7.0-ce-b4

com.liferay.portal.kernel.concurrent
Class ConcurrentIdentityHashMap<K,V>

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by com.liferay.portal.kernel.concurrent.ConcurrentMapperHashMap<K,IdentityKey<K>,V,V>
          extended by com.liferay.portal.kernel.concurrent.ConcurrentIdentityHashMap<K,V>
All Implemented Interfaces:
Serializable, ConcurrentMap<K,V>, Map<K,V>

public class ConcurrentIdentityHashMap<K,V>
extends ConcurrentMapperHashMap<K,IdentityKey<K>,V,V>

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Field Summary
 
Fields inherited from class com.liferay.portal.kernel.concurrent.ConcurrentMapperHashMap
entrySet, innerConcurrentMap, keySet, values
 
Constructor Summary
ConcurrentIdentityHashMap()
           
ConcurrentIdentityHashMap(ConcurrentMap<IdentityKey<K>,V> innerConcurrentMap)
           
ConcurrentIdentityHashMap(int initialCapacity)
           
ConcurrentIdentityHashMap(int initialCapacity, float loadFactor, int concurrencyLevel)
           
ConcurrentIdentityHashMap(Map<? extends K,? extends V> map)
           
 
Method Summary
protected  IdentityKey<K> mapKey(K key)
           
protected  IdentityKey<K> mapKeyForQuery(K key)
           
protected  V mapValue(K key, V value)
           
protected  V mapValueForQuery(V value)
           
protected  K unmapKey(IdentityKey<K> identityKey)
           
protected  K unmapKeyForQuery(IdentityKey<K> identityKey)
           
protected  V unmapValue(V value)
           
protected  V unmapValueForQuery(V value)
           
 
Methods inherited from class com.liferay.portal.kernel.concurrent.ConcurrentMapperHashMap
clear, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, putIfAbsent, remove, remove, replace, replace, size, values
 
Methods inherited from class java.util.AbstractMap
clone, 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

ConcurrentIdentityHashMap

public ConcurrentIdentityHashMap()

ConcurrentIdentityHashMap

public ConcurrentIdentityHashMap(ConcurrentMap<IdentityKey<K>,V> innerConcurrentMap)

ConcurrentIdentityHashMap

public ConcurrentIdentityHashMap(int initialCapacity)

ConcurrentIdentityHashMap

public ConcurrentIdentityHashMap(int initialCapacity,
                                 float loadFactor,
                                 int concurrencyLevel)

ConcurrentIdentityHashMap

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

mapKey

protected IdentityKey<K> mapKey(K key)
Specified by:
mapKey in class ConcurrentMapperHashMap<K,IdentityKey<K>,V,V>

mapKeyForQuery

protected IdentityKey<K> mapKeyForQuery(K key)
Specified by:
mapKeyForQuery in class ConcurrentMapperHashMap<K,IdentityKey<K>,V,V>

mapValue

protected V mapValue(K key,
                     V value)
Specified by:
mapValue in class ConcurrentMapperHashMap<K,IdentityKey<K>,V,V>

mapValueForQuery

protected V mapValueForQuery(V value)
Specified by:
mapValueForQuery in class ConcurrentMapperHashMap<K,IdentityKey<K>,V,V>

unmapKey

protected K unmapKey(IdentityKey<K> identityKey)
Specified by:
unmapKey in class ConcurrentMapperHashMap<K,IdentityKey<K>,V,V>

unmapKeyForQuery

protected K unmapKeyForQuery(IdentityKey<K> identityKey)
Specified by:
unmapKeyForQuery in class ConcurrentMapperHashMap<K,IdentityKey<K>,V,V>

unmapValue

protected V unmapValue(V value)
Specified by:
unmapValue in class ConcurrentMapperHashMap<K,IdentityKey<K>,V,V>

unmapValueForQuery

protected V unmapValueForQuery(V value)
Specified by:
unmapValueForQuery in class ConcurrentMapperHashMap<K,IdentityKey<K>,V,V>

Liferay 7.0-ce-b4