- put
Adds a key-value mapping to this multi-valued map. Unlike a normal Map the
previous value is not rep
- get
Returns a view collection of the values associated with the specified key. This
method will return a
- keySet
Returns a Set view of the keys contained in this multi-valued map. The set is
backed by the map, so
- entries
Returns a Collection view of the mappings contained in this multi-valued map.
The collection is bac
- isEmpty
Returns true if this map contains no key-value mappings.
- values
Gets a Collection view of all values contained in this multi-valued map.
Implementations typically
- clear
Removes all of the mappings from this map (optional operation). The map will be
empty after this cal
- putAll
Copies all mappings from the specified map to this multi-valued map (optional
operation). The effect
- size
Gets the total size of the map. Implementations would return the total size of
the map which is the
- asMap
Returns a view of this multi-valued map as a Map from each distinct key to the
non-empty collection
- containsValue
Checks whether the map contains at least one mapping for the specified value.
- keys
Returns a MultiSet view of the keys contained in this multi-valued map. The
MultiSet#getCount(Object