Class SoftSet.ComparableSoftReference

  • Enclosing class:
    SoftSet

    static class SoftSet.ComparableSoftReference
    extends java.lang.ref.SoftReference
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.Integer key  
    • Constructor Summary

      Constructors 
      Constructor Description
      ComparableSoftReference​(java.lang.Integer key, java.lang.Object o, java.lang.ref.ReferenceQueue q)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) java.lang.Integer getKey()  
      • Methods inherited from class java.lang.ref.SoftReference

        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, toString, wait, wait, wait
    • Field Detail

      • key

        private java.lang.Integer key
    • Constructor Detail

      • ComparableSoftReference

        ComparableSoftReference​(java.lang.Integer key,
                                java.lang.Object o,
                                java.lang.ref.ReferenceQueue q)
    • Method Detail

      • getKey

        java.lang.Integer getKey()