Key - Value - public class HashMultiMap<Key,Value> extends AbstractMultiMap<Key,Value> implements MultiMap<Key,Value>
HashMultiMap is a MultiMap which allows at most one
instance for each (key, value). If the same value is assigned several times
to the same key, it is the same than providing it only once, and removing it
once is enough to not have it anymore in the map.AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
HashMultiMap() |
HashMultiMap(MultiMap<Key,Value> map) |
| Modifier and Type | Method and Description |
|---|---|
protected Collection<Value> |
generateInnerCollection(Key key) |
containsCouple, depopulate, depopulate, iterator, populate, populateclear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, valuesequals, hashCode, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsCouple, depopulate, depopulate, populate, populateprotected Collection<Value> generateInnerCollection(Key key)
generateInnerCollection in class AbstractMultiMap<Key,Value>Copyright © 2014–2015. All rights reserved.