Example usage for Java org.apache.commons.collections4 MultiValuedMap fields, constructors, methods, implement or subclass
The text is from its open source code.
Map | asMap() Returns a view of this multi-valued map as a Map from each distinct key to the non-empty collection of that key's associated values. |
boolean | containsKey(Object key) Returns true if this map contains a mapping for the specified key. |
boolean | containsValue(Object value) Checks whether the map contains at least one mapping for the specified value. |
Collection | get(K key) Returns a view collection of the values associated with the specified key. |
boolean | isEmpty() Returns true if this map contains no key-value mappings. |
Set | keySet() Returns a Set view of the keys contained in this multi-valued map. |
boolean | put(K key, V value) Adds a key-value mapping to this multi-valued map. |
boolean | putAll(K key, Iterable extends V> values) Adds a mapping to the specified key for all values contained in the given Iterable. |
boolean | removeMapping(Object key, Object item) Removes a key-value mapping from the map. |
int | size() Gets the total size of the map. |
Collection | values() Gets a Collection view of all values contained in this multi-valued map. |