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
ConstructorsConstructorDescriptionKeyedSoftReference(K key, T ref) KeyedSoftReference(K key, T ref, ReferenceQueue<T> queue) -
Method Summary
Methods inherited from class java.lang.ref.SoftReference
getMethods inherited from class java.lang.ref.Reference
clear, clone, enqueue, isEnqueued, reachabilityFence, refersToMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.net4j.util.ref.KeyedReference
clear, enqueue, get, isEnqueued
-
Constructor Details
-
KeyedSoftReference
-
KeyedSoftReference
-
-
Method Details
-
getType
- Specified by:
getTypein interfaceKeyedReference<K,T>
-
getKey
- Specified by:
getKeyin interfaceKeyedReference<K,T>
-
toString
-