Package com.googlecode.objectify.util
Class MultimapList<K,V>
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<K,List<V>>
com.googlecode.objectify.util.MultimapList<K,V>
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<K,
List<V>>
Multimap that stores values in an ArrayList. It's not worth pulling in a guava dependency just
for this one class.
- Author:
- Jeff Schnitzer
- See Also:
-
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
-
Method Summary
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
Constructor Details
-
MultimapList
public MultimapList()
-
-
Method Details
-
add
Adds a value to the set associated with the key.
-