final class MildConcurrentKeys<K,V> extends MildKeys<K,V> implements java.util.concurrent.ConcurrentMap<K,V>
Map
whose keys are kept alive by soft/weak Reference
s.MildKeys.EntryItr, MildKeys.KeyItr, MildKeys.Soft<T>, MildKeys.StrongEntry, MildKeys.Weak<T>
Modifier and Type | Field and Description |
---|---|
private java.util.concurrent.ConcurrentMap<java.lang.ref.Reference<K>,V> |
concurrentMap |
Constructor and Description |
---|
MildConcurrentKeys(java.util.concurrent.ConcurrentMap<java.lang.ref.Reference<K>,V> map,
boolean soft) |
Modifier and Type | Method and Description |
---|---|
V |
putIfAbsent(K key,
V value) |
boolean |
remove(java.lang.Object key,
java.lang.Object value) |
V |
replace(K key,
V value) |
boolean |
replace(K key,
V oldValue,
V newValue) |
clear, compact, containsKey, containsValue, entrySet, get, isEmpty, keySet, mildKey, put, putAll, remove, size, tempKey, values
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait