Serializable
, Cloneable
, Map<K,List<V>>
public class ListMap<K,V> extends HashMap<K,List<V>>
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
Constructor | Description |
---|---|
ListMap() |
Modifier and Type | Method | Description |
---|---|---|
void |
add(K key,
V value) |
Adds a single value to the list stored under a key.
|
equals, hashCode, toString
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values