public abstract class ConcurrentMapperHashMap<K,IK,V,IV>
extends java.util.AbstractMap<K,V>
implements java.util.concurrent.ConcurrentMap<K,V>, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected java.util.Set<java.util.Map.Entry<K,V>> |
entrySet |
protected java.util.concurrent.ConcurrentMap<IK,IV> |
innerConcurrentMap |
protected java.util.Set<K> |
keySet |
protected java.util.Collection<V> |
values |
Modifier | Constructor and Description |
---|---|
protected |
ConcurrentMapperHashMap(java.util.concurrent.ConcurrentMap<IK,IV> innerConcurrentMap) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
V |
compute(K key,
java.util.function.BiFunction<? super K,? super V,? extends V> remappingFunction) |
V |
computeIfAbsent(K key,
java.util.function.Function<? super K,? extends V> mappingFunction) |
V |
computeIfPresent(K key,
java.util.function.BiFunction<? super K,? super V,? extends V> remappingFunction) |
boolean |
containsKey(java.lang.Object key) |
boolean |
containsValue(java.lang.Object value) |
java.util.Set<java.util.Map.Entry<K,V>> |
entrySet() |
V |
get(java.lang.Object key) |
boolean |
isEmpty() |
java.util.Set<K> |
keySet() |
protected abstract IK |
mapKey(K key) |
protected abstract IK |
mapKeyForQuery(K key) |
protected abstract IV |
mapValue(K key,
V value) |
protected abstract IV |
mapValueForQuery(V value) |
V |
put(K key,
V value) |
void |
putAll(java.util.Map<? extends K,? extends V> map) |
V |
putIfAbsent(K key,
V value) |
V |
remove(java.lang.Object key) |
boolean |
remove(java.lang.Object key,
java.lang.Object value) |
V |
replace(K key,
V value) |
boolean |
replace(K key,
V oldValue,
V newValue) |
int |
size() |
protected abstract K |
unmapKey(IK key) |
protected abstract K |
unmapKeyForQuery(IK key) |
protected abstract V |
unmapValue(IV value) |
protected abstract V |
unmapValueForQuery(IV value) |
java.util.Collection<V> |
values() |
finalize, getClass, notify, notifyAll, wait, wait, wait
protected transient java.util.Set<K> keySet
protected transient java.util.Collection<V> values
public void clear()
public V compute(K key, java.util.function.BiFunction<? super K,? super V,? extends V> remappingFunction)
public V computeIfAbsent(K key, java.util.function.Function<? super K,? extends V> mappingFunction)
public V computeIfPresent(K key, java.util.function.BiFunction<? super K,? super V,? extends V> remappingFunction)
public boolean containsKey(java.lang.Object key)
public boolean containsValue(java.lang.Object value)
public V get(java.lang.Object key)
public boolean isEmpty()
public java.util.Set<K> keySet()
public V remove(java.lang.Object key)
public boolean remove(java.lang.Object key, java.lang.Object value)
public int size()
public java.util.Collection<V> values()