Package step.core.tables
Class ThresholdMap<K,V>
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<K,V>
-
- step.core.collections.serialization.DottedKeyMap<K,V>
-
- step.core.tables.ThresholdMap<K,V>
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<K,V>
- Direct Known Subclasses:
ViewCounterMap
public class ThresholdMap<K,V> extends step.core.collections.serialization.DottedKeyMap<K,V>
A Map with a guaranteed max number of keys, when the threshold is exceeded, values are redirected to a garbage key.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description V
get(Object key)
V
put(K key, V value)
-
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, getOrDefault, isEmpty, keySet, merge, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
-