Class MultiMap
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.util.MultiMap
-
public final class MultiMap extends Object
A number of static methods to interact with a multi map, i.e. a map that maps keys to sets of values.- Author:
- Matthias Broecheler (me@matthiasb.com)
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <K,V>
booleancontainsEntry(Map<K,Set<V>> map, K key, V value)
static <K,V>
Set<V>get(Map<K,Set<V>> map, K key)
static <K,V>
booleanput(Map<K,Set<V>> map, K key, V value)
static <K,V>
booleanputAll(Map<K,Set<V>> map, K key, Collection<V> values)
-
-
-
Method Detail
-
putAll
public static <K,V> boolean putAll(Map<K,Set<V>> map, K key, Collection<V> values)
-
-