| Package | Description |
|---|---|
| org.apache.commons.collections4 |
This package contains the interfaces and utilities shared across all the subpackages of this component.
|
| org.apache.commons.collections4.collection |
This package contains implementations of the
Collection interface. |
| org.apache.commons.collections4.map |
| Modifier and Type | Method | Description |
|---|---|---|
static <K,V,E> void |
MapUtils.populateMap(MultiMap<K,V> map,
java.lang.Iterable<? extends E> elements,
Transformer<E,K> keyTransformer,
Transformer<E,V> valueTransformer) |
Populates a MultiMap using the supplied
Transformers to transform the elements
into keys and values. |
static <K,V> void |
MapUtils.populateMap(MultiMap<K,V> map,
java.lang.Iterable<? extends V> elements,
Transformer<V,K> keyTransformer) |
Populates a MultiMap using the supplied
Transformer to transform the elements
into keys, using the unaltered element as the value in the MultiMap. |
| Constructor | Description |
|---|---|
IndexedCollection(java.util.Collection<C> coll,
Transformer<C,K> keyTransformer,
MultiMap<K,C> map,
boolean uniqueIndex) |
Create a
IndexedCollection. |
| Modifier and Type | Class | Description |
|---|---|---|
class |
MultiValueMap<K,V> |
Deprecated.
since 4.1, use
MultiValuedMap instead |
Copyright © 2001-2019 - Apache Software Foundation