Class StringInterner.WeakWeightedEntry

Direct Known Subclasses:
StringInterner.WeakStringEntry, StringInterner.WeakURLEntry
Enclosing class:
StringInterner

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

    • size

      private final short size
    • hits

      private short hits
  • Constructor Details

    • WeakWeightedEntry

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

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

    • incHits

      public void incHits()
    • decHits

      public void decHits()
    • getHits

      public int getHits()
    • toString

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

      public boolean isPermanent()
    • destroy

      public void destroy()
    • isDestroyed

      public boolean isDestroyed()