Example usage for Java org.apache.commons.collections.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 . |
void | clear() Clear the map. |
boolean | containsKey(Object key) |
MultiValueMap | decorate(Map map, Class collectionClass) Creates a map which decorates the given map and maps keys to collections of type collectionClass . |
MultiValueMap | decorate(Map map, Factory collectionFactory) Creates a map which decorates the given map and creates the value collections using the supplied collectionFactory . |
MultiValueMap | decorate(Map map) Creates a map which wraps the given map and maps keys to ArrayLists. |
Set | entrySet() |
Object | get(Object key) |
Collection | getCollection(Object key) Gets the collection mapped to the specified key. |
boolean | isEmpty() |
Set | keySet() |
Object | put(Object key, Object value) Adds the value to the collection associated with the specified key. |
void | putAll(Map map) Override superclass to ensure that MultiMap instances are correctly handled. |
Object | remove(Object key, Object value) Removes a specific value from map. |
int | size() |
int | totalSize() Gets the total size of the map by counting all the values. |