Class MultivalueHashMap<K,V>
- All Implemented Interfaces:
Serializable, Cloneable, Map<K, LinkedList<V>>
A Hash that can hold multiple values for each key
- Author:
- pcingola
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, newHashMap, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesMethods inherited from class AbstractMap
equals, hashCode, toString
-
Constructor Details
-
MultivalueHashMap
public MultivalueHashMap()
-
-
Method Details
-
add
Add multiple values -
add
-
getOrCreate
-