Package com.googlecode.objectify.util
Class IdentityMultimapList<K,V>
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.IdentityHashMap<K,List<V>>
-
- com.googlecode.objectify.util.IdentityMultimapList<K,V>
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<K,List<V>>
public class IdentityMultimapList<K,V> extends IdentityHashMap<K,List<V>>
Identity-based Multimap that stores values in an ArrayList.- Author:
- Jeff Schnitzer
- See Also:
- Serialized Form
-
-
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
Constructors Constructor Description IdentityMultimapList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
add(K key, V value)
Adds a value to the set associated with the key.-
Methods inherited from class java.util.IdentityHashMap
clear, clone, containsKey, containsValue, entrySet, equals, forEach, get, hashCode, isEmpty, keySet, put, putAll, remove, replaceAll, size, values
-
Methods inherited from class java.util.AbstractMap
toString
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, getOrDefault, merge, putIfAbsent, remove, replace, replace
-
-