Class SoftValueMap<K,​V>

    • Field Detail

      • map

        protected transient HashMap<K,​R extends Reference<V>> map
        This is a main data storage used for most operations
      • referenceQueue

        protected transient ReferenceQueue<V> referenceQueue
      • entrySet

        protected transient Set<Map.Entry<K,​V>> entrySet
        This is a lazily created set of entries that is essentially a view to actual data
    • Constructor Detail

      • SoftValueMap

        public SoftValueMap()
      • SoftValueMap

        public SoftValueMap​(int initialCapacity)
      • SoftValueMap

        public SoftValueMap​(Map<? extends K,​? extends V> m)