K
- the key typeV
- the value typepublic class EnumSetMultiMap<K extends Enum<K>,V> extends AbstractDelegatingMultiMap<K,V,Set<V>> implements SetMultiMap<K,V>
EnumMap
.Modifier and Type | Field and Description |
---|---|
private Map<K,Set<V>> |
delegate |
private static long |
serialVersionUID |
Constructor and Description |
---|
EnumSetMultiMap(Class<K> keyType) |
EnumSetMultiMap(EnumMap<K,? extends Set<V>> m) |
EnumSetMultiMap(Map<K,? extends Set<V>> m) |
Modifier and Type | Method and Description |
---|---|
protected Map<K,Set<V>> |
getDelegate() |
protected Set<V> |
newCollection() |
add, addAll, allValues, clear, containsCollectionValue, containsKey, containsValue, entrySet, equals, get, hashCode, hasValues, isEmpty, keySet, 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
protected Map<K,Set<V>> getDelegate()
getDelegate
in class AbstractDelegatingMultiMap<K extends Enum<K>,V,Set<V>>
protected Set<V> newCollection()
newCollection
in class AbstractDelegatingMultiMap<K extends Enum<K>,V,Set<V>>
Copyright © 2012-2015 52north.org. All Rights Reserved.