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>
- Type Parameters:
K- the key typeT- the element type
- All Implemented Interfaces:
KeyedReference<K,T>
- Author:
- Eike Stepper
-
Constructor Summary
ConstructorsConstructorDescriptionKeyedWeakReference(K key, T ref) KeyedWeakReference(K key, T ref, ReferenceQueue<T> queue) -
Method Summary
Methods inherited from class Reference
clear, clone, enqueue, get, isEnqueued, reachabilityFence, refersToMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface KeyedReference
clear, enqueue, get, isEnqueued
-
Constructor Details
-
KeyedWeakReference
-
KeyedWeakReference
-
-
Method Details
-
getType
- Specified by:
getTypein interfaceKeyedReference<K,T>
-
getKey
- Specified by:
getKeyin interfaceKeyedReference<K,T>
-
toString
-