public class MultiMap<K,V> extends HashMap<K,Set<V>>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
MultiMap() |
Modifier and Type | Method and Description |
---|---|
boolean |
add(K key,
V value) |
boolean |
addAll(K key,
Collection<V> value) |
Iterator<V> |
all() |
Iterator<V> |
iterate(K key) |
boolean |
remove(Object key,
Object value) |
boolean |
removeAll(K key,
Collection<V> value) |
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, replace, replace, replaceAll, size, values
equals, hashCode, toString
public boolean addAll(K key, Collection<V> value)
public boolean removeAll(K key, Collection<V> value)
Copyright © 2018 aQute SARL. All rights reserved.