public class MultiHashMap<K,V,C extends java.util.Collection<V>> extends java.util.HashMap<K,C> implements MultiMap<K,V,C>
Constructor and Description |
---|
MultiHashMap(java.util.function.Supplier<C> collectionFactory) |
MultiHashMap(java.util.function.Supplier<C> collectionFactory,
MultiMap<? extends K,? extends V,? extends C> that) |
Modifier and Type | Method and Description |
---|---|
C |
createCollection() |
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
add, addAll, addAll, addAll, addAll, addAllToAll, addAllToAll, addAllToAll, addToAll, addToAll, contains, getAll, getAll, getAll, getCollection, removeAll, removeAll, removeAll, removeAll, removeAllFromAll, removeAllFromAll, removeAllFromAll, removeFromAll, removeFromAll, removeValue
public MultiHashMap(java.util.function.Supplier<C> collectionFactory)