Class WeakValueConcurrentMap.WeakValue<K,​V>

  • Enclosing class:
    WeakValueConcurrentMap<K,​V>

    private static class WeakValueConcurrentMap.WeakValue<K,​V>
    extends java.lang.ref.WeakReference<V>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) K key  
    • Constructor Summary

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

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

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

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • key

        final K key
    • Constructor Detail

      • WeakValue

        WeakValue​(K key,
                  V value,
                  java.lang.ref.ReferenceQueue<V> queue)