public class MultiMap<K,V>
extends java.util.AbstractMap<K,java.util.Collection<V>>
Map<String,
List<Integer>>. By default the collection type is ArrayList, but it
can be any collection, by overriding getCollection.| Constructor and Description |
|---|
MultiMap() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<V> |
add(K key,
V value) |
java.util.Set<java.util.Map.Entry<K,java.util.Collection<V>>> |
entrySet() |
java.util.Collection<V> |
getCollection() |
java.util.Collection<V> |
put(K key,
java.util.Collection<V> value) |
java.util.Collection<V> |
putEach(K key,
V... values) |
clear, clone, containsKey, containsValue, equals, get, hashCode, isEmpty, keySet, putAll, remove, size, toString, values