public interface MultiMap<K,V> extends Iterable<heros.solver.Pair<K,V>>
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
contains(K key,
V value) |
boolean |
containsKey(K key) |
boolean |
containsValue(V value) |
boolean |
equals(Object o) |
Set<V> |
get(K o) |
int |
hashCode() |
boolean |
isEmpty() |
Set<K> |
keySet() |
int |
numKeys() |
boolean |
put(K key,
V value) |
boolean |
putAll(K key,
Set<V> values) |
boolean |
putAll(Map<K,Set<V>> m) |
boolean |
putAll(MultiMap<K,V> m) |
boolean |
remove(K key) |
boolean |
remove(K key,
V value) |
boolean |
removeAll(K key,
Set<V> values) |
int |
size()
Gets the number of keys in this MultiMap
|
Set<V> |
values() |
forEach, iterator, spliterator