Class KeyedPhantomReference<K,​T>

  • All Implemented Interfaces:
    KeyedReference<K,​T>

    public class KeyedPhantomReference<K,​T>
    extends java.lang.ref.PhantomReference<T>
    implements KeyedReference<K,​T>
    Author:
    Eike Stepper
    • Constructor Summary

      Constructors 
      Constructor Description
      KeyedPhantomReference​(K key, T ref, java.lang.ref.ReferenceQueue<T> queue)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      K getKey()  
      ReferenceType getType()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.ref.PhantomReference

        get
      • Methods inherited from class java.lang.ref.Reference

        clear, clone, enqueue, isEnqueued, reachabilityFence
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • KeyedPhantomReference

        public KeyedPhantomReference​(K key,
                                     T ref,
                                     java.lang.ref.ReferenceQueue<T> queue)