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

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

Introduction

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

The text is from its open source code.

Subclass

org.apache.commons.collections.map.MultiValueMap has subclasses.
Click this link to see all its subclasses.

Constructor

MultiValueMap()
Creates a MultiValueMap based on a HashMap and storing the multiple values in an ArrayList.

Method

voidclear()
Clear the map.
booleancontainsKey(Object key)
MultiValueMapdecorate(Map map, Class collectionClass)
Creates a map which decorates the given map and maps keys to collections of type collectionClass.
MultiValueMapdecorate(Map map, Factory collectionFactory)
Creates a map which decorates the given map and creates the value collections using the supplied collectionFactory.
MultiValueMapdecorate(Map map)
Creates a map which wraps the given map and maps keys to ArrayLists.
SetentrySet()
Objectget(Object key)
CollectiongetCollection(Object key)
Gets the collection mapped to the specified key.
booleanisEmpty()
SetkeySet()
Objectput(Object key, Object value)
Adds the value to the collection associated with the specified key.
voidputAll(Map map)
Override superclass to ensure that MultiMap instances are correctly handled.
Objectremove(Object key, Object value)
Removes a specific value from map.
intsize()
inttotalSize()
Gets the total size of the map by counting all the values.