public static class ReferenceValueMap.Strong<K,V> extends ReferenceValueMap<K,V>
ReferenceValueMap.Soft<K,V>, ReferenceValueMap.Strong<K,V>, ReferenceValueMap.Weak<K,V>AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Strong() |
Strong(ConcurrentMap<K,KeyedReference<K,V>> map) |
| Modifier and Type | Method and Description |
|---|---|
protected ReferenceQueue<V> |
createQueue() |
protected KeyedReference<K,V> |
createReference(K key,
V value,
ReferenceQueue<V> queue) |
putIfAbsent, remove, replace, replaceclear, containsKey, containsValue, dereference, entrySet, get, isEmpty, purged, purgeQueue, put, remove, sizeclone, equals, hashCode, keySet, putAll, toString, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, replaceAllpublic Strong()
public Strong(ConcurrentMap<K,KeyedReference<K,V>> map)
protected KeyedReference<K,V> createReference(K key, V value, ReferenceQueue<V> queue)
createReference in class ReferenceValueMap2<K,V>protected ReferenceQueue<V> createQueue()
createQueue in class ReferenceValueMap2<K,V>Copyright (c) 2011-2015 Eike Stepper (Berlin, Germany) and others.