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 and Description |
---|---|
static <K,V,E> void |
MapUtils.populateMap(MultiMap<K,V> map,
Iterable<? extends E> elements,
Transformer<E,K> keyTransformer,
Transformer<E,V> valueTransformer)
Populates a MultiMap using the supplied
Transformer s to transform the elements
into keys and values. |
static <K,V> void |
MapUtils.populateMap(MultiMap<K,V> map,
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 and Description |
---|
IndexedCollection(Collection<C> coll,
Transformer<C,K> keyTransformer,
MultiMap<K,C> map,
boolean uniqueIndex)
Create a
IndexedCollection . |
Modifier and Type | Class and Description |
---|---|
class |
MultiValueMap<K,V>
Deprecated.
since 4.1, use
MultiValuedMap instead |
Copyright © 2001–2019 The Apache Software Foundation. All rights reserved.