Modifier and Type | Class and Description |
---|---|
class |
MultiMap.Entry<E>
The class Entry.
|
Constructor and Description |
---|
MultiMap() |
Modifier and Type | Method and Description |
---|---|
boolean |
add(K key,
V value)
Add a new entry.
|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<K,List<V>>> |
entrySet() |
List<V> |
get(Object key) |
boolean |
isEmpty() |
Set<K> |
keySet() |
List<V> |
put(K key,
List<V> value) |
void |
putAll(Map<? extends K,? extends List<V>> m) |
List<V> |
remove(Object key) |
int |
size() |
Collection<List<V>> |
values() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
public MultiMap()
public boolean containsKey(Object key)
containsKey
in interface Map<K,List<V>>
public boolean containsValue(Object value)
containsValue
in interface Map<K,List<V>>
public boolean add(K key, V value)
key
- the key of the entryvalue
- the value of the entryCopyright © 2011–2016 JRebirth OSS. All rights reserved.