Class AbstractReferenceMap.SoftRef<T>

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

static class AbstractReferenceMap.SoftRef<T> extends SoftReference<T>
A soft 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