K
- the key typeV
- the value typeC
- the collection typepublic abstract class AbstractMultiHashMap<K,V,C extends Collection<V>> extends AbstractDelegatingMultiMap<K,V,C> implements MultiMap<K,V,C>, Map<K,C>, Serializable
HashMap
.Modifier and Type | Field and Description |
---|---|
private Map<K,C> |
delegate |
private static long |
serialVersionUID |
Constructor and Description |
---|
AbstractMultiHashMap() |
AbstractMultiHashMap(int initialCapacity) |
AbstractMultiHashMap(int initialCapacity,
float loadFactor) |
AbstractMultiHashMap(Map<? extends K,? extends C> m) |
Modifier and Type | Method and Description |
---|---|
protected Map<K,C> |
getDelegate() |
add, addAll, allValues, clear, containsCollectionValue, containsKey, containsValue, entrySet, equals, get, hashCode, hasValues, isEmpty, keySet, newCollection, put, putAll, remove, remove, remove, removeWithKey, removeWithKey, size, values
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
add, addAll, allValues, containsCollectionValue, hasValues, remove, remove, removeWithKey, removeWithKey
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, replace, replace, replaceAll, size, values
private static final long serialVersionUID
private final Map<K,C extends Collection<V>> delegate
public AbstractMultiHashMap(int initialCapacity)
public AbstractMultiHashMap(int initialCapacity, float loadFactor)
public AbstractMultiHashMap()
protected Map<K,C> getDelegate()
getDelegate
in class AbstractDelegatingMultiMap<K,V,C extends Collection<V>>
Copyright © 2012-2015 52north.org. All Rights Reserved.