public class ConcurrentIdentityHashMap<K,V> extends ConcurrentMapperHashMap<K,IdentityKey<K>,V,V>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>entrySet, innerConcurrentMap, keySet, values| Constructor and Description |
|---|
ConcurrentIdentityHashMap() |
ConcurrentIdentityHashMap(ConcurrentMap<IdentityKey<K>,V> innerConcurrentMap) |
ConcurrentIdentityHashMap(int initialCapacity) |
ConcurrentIdentityHashMap(int initialCapacity,
float loadFactor,
int concurrencyLevel) |
ConcurrentIdentityHashMap(Map<? extends K,? extends V> map) |
| Modifier and Type | Method and Description |
|---|---|
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) |
clear, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, putIfAbsent, remove, remove, replace, replace, size, valuesclone, equals, hashCode, toStringpublic ConcurrentIdentityHashMap()
public ConcurrentIdentityHashMap(ConcurrentMap<IdentityKey<K>,V> innerConcurrentMap)
public ConcurrentIdentityHashMap(int initialCapacity)
public ConcurrentIdentityHashMap(int initialCapacity,
float loadFactor,
int concurrencyLevel)
protected IdentityKey<K> mapKey(K key)
mapKey in class ConcurrentMapperHashMap<K,IdentityKey<K>,V,V>protected IdentityKey<K> mapKeyForQuery(K key)
mapKeyForQuery in class ConcurrentMapperHashMap<K,IdentityKey<K>,V,V>protected V mapValue(K key, V value)
mapValue in class ConcurrentMapperHashMap<K,IdentityKey<K>,V,V>protected V mapValueForQuery(V value)
mapValueForQuery in class ConcurrentMapperHashMap<K,IdentityKey<K>,V,V>protected K unmapKey(IdentityKey<K> identityKey)
unmapKey in class ConcurrentMapperHashMap<K,IdentityKey<K>,V,V>protected K unmapKeyForQuery(IdentityKey<K> identityKey)
unmapKeyForQuery in class ConcurrentMapperHashMap<K,IdentityKey<K>,V,V>protected V unmapValue(V value)
unmapValue in class ConcurrentMapperHashMap<K,IdentityKey<K>,V,V>protected V unmapValueForQuery(V value)
unmapValueForQuery in class ConcurrentMapperHashMap<K,IdentityKey<K>,V,V>