Class AbstractReferenceMap.WeakRef<T>

java.lang.Object
java.lang.ref.Reference<T>
java.lang.ref.WeakReference<T>
org.apache.commons.collections4.map.AbstractReferenceMap.WeakRef<T>
Enclosing class:
AbstractReferenceMap<K,V>

static class AbstractReferenceMap.WeakRef<T> extends WeakReference<T>
A weak reference holder.
  • Field Details

    • hash

      private final int hash
      the hashCode of the key (even if the reference points to a value)
  • Constructor Details

  • Method Details

    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object