public abstract class MultiMap<K,V> extends Object
Modifier and Type | Method and Description |
---|---|
boolean |
containsKey(K key) |
static <K,V> MultiMap<K,V> |
createMapList() |
static <K,V> MultiMap<K,V> |
createMapSet() |
boolean |
equals(Object other) |
Iterator<V> |
flatten()
Does not materialise the contents
|
Collection<V> |
get(K key) |
int |
hashCode() |
boolean |
isEmpty() |
Set<K> |
keys() |
void |
put(K key,
V value) |
void |
putAll(K key,
V... values) |
String |
toString() |
Collection<V> |
values() |
Collection<V> |
values(K key) |
public static <K,V> MultiMap<K,V> createMapList()
public static <K,V> MultiMap<K,V> createMapSet()
public Collection<V> get(K key)
public Collection<V> values(K key)
public Collection<V> values()
public boolean containsKey(K key)
public boolean isEmpty()
Licenced under the Apache License, Version 2.0