public class MapOfSets
extends java.lang.Object
Constructor and Description |
---|
MapOfSets(java.util.Map m) |
Modifier and Type | Method and Description |
---|---|
java.util.Map |
getMap() |
int |
put(java.lang.Object key,
java.lang.Object val)
Adds val to the Set associated with key in the Map.
|
int |
putAll(java.lang.Object key,
java.util.Collection vals)
Adds multiple vals to the Set associated with key in the Map.
|
public MapOfSets(java.util.Map m)
m
- the backing store for this objectpublic java.util.Map getMap()
public int put(java.lang.Object key, java.lang.Object val)
public int putAll(java.lang.Object key, java.util.Collection vals)
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.