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