public interface MultiMap<K,V> extends java.lang.Iterable<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(java.lang.Object o) |
java.util.Set<V> |
get(K o) |
int |
hashCode() |
boolean |
isEmpty() |
java.util.Set<K> |
keySet() |
int |
numKeys() |
boolean |
put(K key,
V value) |
boolean |
putAll(K key,
java.util.Set<V> values) |
boolean |
putAll(java.util.Map<K,java.util.Set<V>> m) |
boolean |
putAll(MultiMap<K,V> m) |
boolean |
remove(K key) |
boolean |
remove(K key,
V value) |
boolean |
removeAll(K key,
java.util.Set<V> values) |
int |
size()
Gets the number of keys in this MultiMap
|
java.util.Set<V> |
values() |
boolean isEmpty()
int numKeys()
boolean containsKey(K key)
boolean containsValue(V value)
boolean remove(K key)
java.util.Set<K> keySet()
java.util.Set<V> values()
boolean equals(java.lang.Object o)
equals
in class java.lang.Object
int hashCode()
hashCode
in class java.lang.Object
int size()
void clear()