A MultiValuedMap
is a Map with slightly different semantics:
For example:
MultiValuedMap<K, String> map = new MultiValuedHashMap<K, String>(); map.put(key, "A"); map.put(key, "B"); map.put(key, "C"); Collection<String> coll = map.get(key);
coll
will be a collection containing "A", "B", "C".
@since 4.1 @version $Id$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|