Class ConcurrentWeakIntObjectHashMap.WeakIntReference<V>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int _hash  
      private int _key  
    • Constructor Summary

      Constructors 
      Constructor Description
      WeakIntReference​(int key, V referent, java.lang.ref.ReferenceQueue<? super V> q)  
    • Method Summary

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

      • _hash

        private final int _hash
      • _key

        private final int _key
    • Constructor Detail

      • WeakIntReference

        WeakIntReference​(int key,
                         V referent,
                         java.lang.ref.ReferenceQueue<? super V> q)
    • Method Detail

      • hashCode

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

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