Package org.apfloat

Class ConcurrentWeakHashMap.Key

  • Enclosing class:
    ConcurrentWeakHashMap<K,​V>

    private static class ConcurrentWeakHashMap.Key
    extends java.lang.ref.WeakReference<java.lang.Object>
    • Field Summary

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

      Constructors 
      Constructor Description
      Key​(java.lang.Object key, java.lang.ref.ReferenceQueue<java.lang.Object> queue)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      int hashCode()  
      • 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, toString, wait, wait, wait
    • Field Detail

      • hashCode

        private int hashCode
    • Constructor Detail

      • Key

        public Key​(java.lang.Object key,
                   java.lang.ref.ReferenceQueue<java.lang.Object> queue)
    • Method Detail

      • hashCode

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

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object