Class Multimap<K,V>
java.lang.Object
org.greenrobot.essentials.collections.AbstractMultimap<K,V,List<V>>
org.greenrobot.essentials.collections.Multimap<K,V>
Combines a Map with List values to provide simple way to store multiple values for a key.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class org.greenrobot.essentials.collections.AbstractMultimap
map -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <K,V> Multimap <K, V> create()static <K,V> Multimap <K, V> create(Multimap.ListType listType) Methods inherited from class org.greenrobot.essentials.collections.AbstractMultimap
clear, containsElement, containsElement, containsKey, containsValue, countElements, countElements, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, putElement, putElements, remove, removeElement, size, values, valuesElementsMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Field Details
-
listType
-
-
Constructor Details
-
Multimap
-
-
Method Details
-
create
-
create
-
createNewCollection
- Specified by:
createNewCollectionin classAbstractMultimap<K,V, List<V>>
-