Class SoftValueHashMap.SoftValueRef<K,​V>

  • Enclosing class:
    SoftValueHashMap<K,​V>

    private static class SoftValueHashMap.SoftValueRef<K,​V>
    extends java.lang.ref.SoftReference<V>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      K key  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private SoftValueRef​(K key, V val, java.lang.ref.ReferenceQueue<V> q)  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      private static <K,​V>
      SoftValueHashMap.SoftValueRef<K,​V>
      create​(K key, V val, java.lang.ref.ReferenceQueue<V> q)  
      • 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

        public K key
    • Constructor Detail

      • SoftValueRef

        private SoftValueRef​(K key,
                             V val,
                             java.lang.ref.ReferenceQueue<V> q)