Class Interner.Entry<E>

java.lang.Object
java.lang.ref.Reference<T>
java.lang.ref.WeakReference<E>
org.eclipse.net4j.util.ref.Interner.Entry<E>
Enclosing class:
Interner<E>

protected static class Interner.Entry<E> extends WeakReference<E>
A weak reference holder that caches the hash code of the referent and is chained in the Interner.entries to handle collisions.
Author:
Ed Merks
  • Field Details

    • hashCode

      public final int hashCode
    • next

      public Interner.Entry<E> next
  • Constructor Details

    • Entry

      public Entry(E object, int hashCode, ReferenceQueue<? super E> queue)
  • Method Details