Class CopyOnWriteWeakMap.Node<K,​V>

  • Enclosing class:
    CopyOnWriteWeakMap<K,​V>

    private static final class CopyOnWriteWeakMap.Node<K,​V>
    extends java.lang.ref.WeakReference<V>
    • Field Summary

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

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) K getKey()  
      • 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

        private final K key
    • Constructor Detail

      • Node

        Node​(K key,
             V value,
             java.lang.ref.ReferenceQueue<? super V> queue)
    • Method Detail

      • getKey

        K getKey()