Class KeyedWeakReference

java.lang.Object
java.lang.ref.Reference<T>
java.lang.ref.WeakReference
org.biojava.nbio.ontology.utils.KeyedWeakReference

public class KeyedWeakReference extends WeakReference
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 Details

  • Method Details

    • getKey

      public Object getKey()