Class ConcurrentWeakHashMap.WeakKeyReference<K>

  • Enclosing class:
    ConcurrentWeakHashMap<K,​V>

    static final class ConcurrentWeakHashMap.WeakKeyReference<K>
    extends java.lang.ref.WeakReference<K>
    A weak-key reference which stores the key hash needed for reclamation.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) int hash  
    • Constructor Summary

      Constructors 
      Constructor Description
      WeakKeyReference​(K key, int hash, java.lang.ref.ReferenceQueue<K> refQueue)  
    • 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

      • hash

        final int hash
    • Constructor Detail

      • WeakKeyReference

        WeakKeyReference​(K key,
                         int hash,
                         java.lang.ref.ReferenceQueue<K> refQueue)