public class MapOfSets<K,V> extends Object
Modifier and Type | Method and Description |
---|---|
Map<K,Set<V>> |
getMap() |
int |
put(K key,
V val)
Adds val to the Set associated with key in the Map.
|
int |
putAll(K key,
Collection<? extends V> vals)
Adds multiple vals to the Set associated with key in the Map.
|
public int put(K key, V val)
public int putAll(K key, Collection<? extends V> vals)
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.