public class MultiMap extends Object
Constructor and Description |
---|
MultiMap() |
Modifier and Type | Method and Description |
---|---|
static <K,V> HashMap<V,HashSet<K>> |
invert(HashMap<K,ArrayList<V>> map)
Invert the mapping
|
static <K,V> boolean |
put(HashMap<K,ArrayList<V>> map,
K key,
V value) |
static <K,V> void |
putAll(HashMap<K,ArrayList<V>> map,
K key,
Iterable<V> values) |
Copyright © 2015. All rights reserved.