Class AbstractWeakConcurrentMap.WeakKey<K>

  • Enclosing class:
    AbstractWeakConcurrentMap<K,​V,​L>

    public static final class AbstractWeakConcurrentMap.WeakKey<K>
    extends java.lang.ref.WeakReference<K>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int hashCode  
    • Constructor Summary

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object other)  
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.ref.Reference

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

        finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • hashCode

        private final int hashCode
    • Constructor Detail

      • WeakKey

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

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object