Package org.biojava.nbio.ontology.utils
Class KeyedWeakReference
java.lang.Object
java.lang.ref.Reference<T>
java.lang.ref.WeakReference
org.biojava.nbio.ontology.utils.KeyedWeakReference
Subclass of WeakReference which includes and extra field (the key)
which can be used to help cleanup once this reference has been
enqueued.
- Since:
- 1.3
- Author:
- Thomas Down
-
Constructor Summary
ConstructorDescriptionKeyedWeakReference
(Object key, Object ref) KeyedWeakReference
(Object key, Object ref, ReferenceQueue queue) -
Method Summary
Methods inherited from class java.lang.ref.Reference
clear, clone, enqueue, get, isEnqueued, reachabilityFence, refersTo
-
Constructor Details
-
KeyedWeakReference
-
KeyedWeakReference
-
-
Method Details
-
getKey
-