Package com.illumon.iris.db.plot.util
Class PlotUtils.HashMapWithDefault<K,V>
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<K,V>
com.illumon.iris.db.plot.util.PlotUtils.HashMapWithDefault<K,V>
- All Implemented Interfaces:
Serializable,Cloneable,Map<K,V>
- Enclosing class:
- PlotUtils
public static class PlotUtils.HashMapWithDefault<K,V> extends HashMap<K,V>
- 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> -
Constructor Summary
Constructors Constructor Description HashMapWithDefault() -
Method Summary
Modifier and Type Method Description PlotUtils.HashMapWithDefault<K,V>copy()Vget(Object key)VgetDefault()<T> voidrunIfKeyExistsCast(Consumer<T> consumer, K key)voidsetDefault(V def)Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Constructor Details
-
HashMapWithDefault
public HashMapWithDefault()
-
-
Method Details