K
- the type of keys maintained by this mapV
- the type of mapped valuespublic class MultiValuedMap<K,V>
extends java.util.HashMap<K,java.util.List<V>>
Constructor and Description |
---|
MultiValuedMap() |
Modifier and Type | Method and Description |
---|---|
void |
putMap(java.util.Map<K,V> map)
Copies all of the mappings from the specified map into this map.
|
java.util.List<V> |
putSingle(K key,
V value)
Add the provided value to the list of values associated with this key.
|
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values