Package org.eclipse.net4j.util.ref
Class KeyedSoftReference<K,T>
java.lang.Object
java.lang.ref.Reference<T>
java.lang.ref.SoftReference<T>
org.eclipse.net4j.util.ref.KeyedSoftReference<K,T>
- All Implemented Interfaces:
KeyedReference<K,
T>
- Author:
- Eike Stepper
-
Constructor Summary
ConstructorDescriptionKeyedSoftReference
(K key, T ref) KeyedSoftReference
(K key, T ref, ReferenceQueue<T> queue) -
Method Summary
Methods inherited from class java.lang.ref.SoftReference
get
Methods inherited from class java.lang.ref.Reference
clear, clone, enqueue, isEnqueued, reachabilityFence, refersTo
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.net4j.util.ref.KeyedReference
clear, enqueue, get, isEnqueued
-
Constructor Details
-
KeyedSoftReference
-
KeyedSoftReference
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceKeyedReference<K,
T>
-
getKey
- Specified by:
getKey
in interfaceKeyedReference<K,
T>
-
toString
-