Class ReferenceValueMap.Strong<K,V>
java.lang.Object
java.util.AbstractMap<K,V>
org.eclipse.net4j.util.ref.ReferenceValueMap2<K,V>
org.eclipse.net4j.util.ref.ReferenceValueMap<K,V>
org.eclipse.net4j.util.ref.ReferenceValueMap.Strong<K,V>
- Type Parameters:
K- the key typeV- the value type
- All Implemented Interfaces:
ConcurrentMap<K,V>, Map<K, V>
- Enclosing class:
ReferenceValueMap<K,V>
A reference-value map that keeps values strongly reachable.
- Author:
- Eike Stepper
-
Nested Class Summary
Nested classes/interfaces inherited from class ReferenceValueMap
ReferenceValueMap.Soft<K,V>, ReferenceValueMap.Strong<K, V>, ReferenceValueMap.Weak<K, V> Nested classes/interfaces inherited from class AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ReferenceQueue<V> protected KeyedReference<K, V> createReference(K key, V value, ReferenceQueue<V> queue) Methods inherited from class ReferenceValueMap
putIfAbsent, remove, replace, replaceMethods inherited from class ReferenceValueMap2
clear, containsKey, containsValue, dereference, entrySet, get, internalPurgeQueue, isEmpty, purged, purgeQueue, put, remove, removeAll, sizeMethods inherited from interface ConcurrentMap
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, replaceAll
-
Constructor Details
-
Strong
public Strong() -
Strong
-
-
Method Details
-
createReference
- Specified by:
createReferencein classReferenceValueMap2<K,V>
-
createQueue
- Overrides:
createQueuein classReferenceValueMap2<K,V>
-