Example usage for Java org.apache.commons.collections4.map MultiValueMap fields, constructors, methods, implement or subclass
The text is from its open source code.
MultiValueMap() Creates a MultiValueMap based on a HashMap and storing the multiple values in an ArrayList . | |
MultiValueMap(final Map Creates a MultiValueMap which decorates the given map and creates the value collections using the supplied collectionFactory . |
boolean | containsKey(Object key) Returns true if this map contains a mapping for the specified key. |
boolean | containsValue(final Object key, final Object value) Checks whether the collection at the specified key contains the value. |
Set | entrySet() NOTE: the returned Entry objects will contain as value a Collection of all values that are mapped to the given key. |
Object | get(Object key) Gets the collection of values associated with the specified key. |
Collection | getCollection(final Object key) Gets the collection mapped to the specified key. |
Set | keySet() Returns a Set view of the keys contained in this map. |
Object | put(final K key, final Object value) Adds the value to the collection associated with the specified key. |
Object | remove(Object key) Removes all values associated with the specified key. |
Collection | values() Gets a collection containing all the values in the map. |