Package org.apfloat
Class ConcurrentSoftHashMap<K,V>
java.lang.Object
java.util.AbstractMap<K,V>
org.apfloat.ConcurrentSoftHashMap<K,V>
- All Implemented Interfaces:
Map<K,
V>
Map with an underlying ConcurrentHashMap with softly referenced values.
The maximum map size is assumed to be limited so no effort is made to
expunge entries for stale values.
- Since:
- 1.6
- Version:
- 1.9.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,
V>, AbstractMap.SimpleImmutableEntry<K, V> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.AbstractMap
clone, containsKey, containsValue, equals, hashCode, isEmpty, keySet, putAll, toString, values
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Field Details
-
map
-
-
Constructor Details
-
ConcurrentSoftHashMap
public ConcurrentSoftHashMap()
-
-
Method Details
-
clear
public void clear() -
entrySet
-
get
-
put
-
remove
-
size
public int size() -
wrap
-
unwrap
-