Java org.apache.commons.collections4.map MultiValueMap fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.collections4.map MultiValueMap fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.collections4.map MultiValueMap.

The text is from its open source code.

Constructor

MultiValueMap()
Creates a MultiValueMap based on a HashMap and storing the multiple values in an ArrayList.
MultiValueMap(final Map map, final Factory collectionFactory)
Creates a MultiValueMap which decorates the given map and creates the value collections using the supplied collectionFactory.

Method

booleancontainsKey(Object key)
Returns true if this map contains a mapping for the specified key.
booleancontainsValue(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.

Objectget(Object key)
Gets the collection of values associated with the specified key.
CollectiongetCollection(final Object key)
Gets the collection mapped to the specified key.
SetkeySet()
Returns a Set view of the keys contained in this map.
Objectput(final K key, final Object value)
Adds the value to the collection associated with the specified key.
Objectremove(Object key)
Removes all values associated with the specified key.
Collectionvalues()
Gets a collection containing all the values in the map.