public final class DefaultHashMap<K,V>
extends java.util.HashMap<K,V>
| Constructor and Description |
|---|
DefaultHashMap(V defaultValue)
Constructs an empty map with the given default value.
|
| Modifier and Type | Method and Description |
|---|---|
V |
get(java.lang.Object k) |
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuespublic DefaultHashMap(V defaultValue)
defaultValue - the default value