A SetValuedMap is a Map with slightly different semantics:
| Modifier and Type | Method and Description |
|---|---|
| public Set | Returns: theSet of values, implementations should return an
empty Set for no mappingthe key to retrieve key)Redeclares org. |
| public Set | Returns: theSet of values removed, implementations should
return null for no mapping found, but may return an empty collectionthe key to remove values from key)Redeclares org. |
| get | back to summary |
|---|---|
| public Set Redeclares org. Gets the set of values associated with the specified key.
Implementations typically return an empty
| |
| remove | back to summary |
|---|---|
| public Set Redeclares org. Removes all values associated with the specified key. The returned set may be modifiable, but updates will not be propagated to this set-valued map. In case no mapping was stored for the specified key, an empty, unmodifiable set will be returned.
| |