Serializable, Map<K,V>, MultiMap<K,V>CommonMultiMappublic class BasicMultiMap<K,V> extends Object implements MultiMap<K,V>, Serializable
| Constructor | Description |
|---|---|
BasicMultiMap() |
|
BasicMultiMap(Map<K,List<V>> impl) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
add(K key,
V value) |
|
void |
add(K key,
V value,
int index) |
|
void |
clear() |
|
boolean |
containsKey(Object key) |
|
boolean |
containsValue(Object value) |
|
Set<Map.Entry<K,V>> |
entrySet() |
|
V |
get(Object key) |
|
V |
get(Object key,
int index) |
|
List<V> |
getAll(Object key) |
|
boolean |
isEmpty() |
|
Set<K> |
keySet() |
|
int |
length(Object key) |
|
V |
put(K key,
V value) |
|
V |
put(K key,
V value,
int index) |
|
void |
putAll(Map<? extends K,? extends V> map) |
|
List<V> |
putAll(K key,
List<V> values) |
|
V |
remove(Object key) |
|
V |
remove(Object key,
int index) |
|
int |
size() |
|
String |
toString() |
|
Collection<V> |
values() |
public BasicMultiMap()
public BasicMultiMap(Map<K,List<V>> impl)
public boolean containsKey(Object key)
public boolean containsValue(Object value)
public String toString()
toString in class Object