Package org.eclipse.net4j.util.ref
Class KeyedWeakReference<K,T>
java.lang.Object
java.lang.ref.Reference<T>
java.lang.ref.WeakReference<T>
org.eclipse.net4j.util.ref.KeyedWeakReference<K,T>
- All Implemented Interfaces:
KeyedReference<K,
T>
- Author:
- Eike Stepper
-
Constructor Summary
ConstructorDescriptionKeyedWeakReference
(K key, T ref) KeyedWeakReference
(K key, T ref, ReferenceQueue<T> queue) -
Method Summary
Methods inherited from class java.lang.ref.Reference
clear, clone, enqueue, get, 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
-
KeyedWeakReference
-
KeyedWeakReference
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceKeyedReference<K,
T>
-
getKey
- Specified by:
getKey
in interfaceKeyedReference<K,
T>
-
toString
-