Class StringInterner.WeakWeightedEntry

    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) short hits  
      (package private) short size  
    • Constructor Summary

      Constructors 
      Constructor Description
      WeakWeightedEntry​(java.lang.Object o, int hash, int size)  
    • Field Detail

      • size

        final short size
      • hits

        short hits
    • Constructor Detail

      • WeakWeightedEntry

        public WeakWeightedEntry​(java.lang.Object o,
                                 int hash,
                                 int size)
    • Method Detail

      • incHits

        public void incHits()
      • decHits

        public void decHits()
      • toString

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

        public void destroy()
      • isDestroyed

        public boolean isDestroyed()