Class StringInterner.WeakWeightedEntry

Direct Known Subclasses:
StringInterner.WeakByteArrayEntry, StringInterner.WeakCharArrayEntry, StringInterner.WeakFileEntry, StringInterner.WeakStringEntry, StringInterner.WeakURLEntry
Enclosing class:
StringInterner

private abstract static class StringInterner.WeakWeightedEntry extends StringInterner.WeakEntry
  • Field Details

    • size

      final short size
    • hits

      short hits
  • Constructor Details

    • WeakWeightedEntry

      public WeakWeightedEntry(Object o, int hash, int size)
  • Method Details

    • incHits

      public void incHits()
    • decHits

      public void decHits()
    • toString

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

      public void destroy()
    • isDestroyed

      public boolean isDestroyed()