Class StringInterner.WeakEntry

    • Field Summary

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

      Constructors 
      Modifier Constructor Description
        WeakEntry​(java.lang.Object o, java.lang.ref.ReferenceQueue q)  
      protected WeakEntry​(java.lang.Object o, java.lang.ref.ReferenceQueue q, int hash)  
    • 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

      • hash

        private final int hash
    • Constructor Detail

      • WeakEntry

        protected WeakEntry​(java.lang.Object o,
                            java.lang.ref.ReferenceQueue q,
                            int hash)
      • WeakEntry

        public WeakEntry​(java.lang.Object o,
                         java.lang.ref.ReferenceQueue q)
    • Method Detail

      • equals

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

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