Package | Description |
---|---|
org.eclipse.collections.api |
This package contains interfaces for Eclipse Collections API.
|
org.eclipse.collections.api.bag |
This package contains interfaces for Bag API.
|
org.eclipse.collections.api.bag.sorted |
This package contains interfaces for SortedBag API.
|
org.eclipse.collections.api.collection | |
org.eclipse.collections.api.factory.map |
This package contains factory API for creating instances of type
MapIterable . |
org.eclipse.collections.api.factory.map.strategy |
This package contains factory API for creating instances of maps with user defined
HashingStrategy s. |
org.eclipse.collections.api.map |
This package contains interfaces for map API which enhance the performance and functionality of
Map |
org.eclipse.collections.api.map.primitive |
This package contains API for primitive to primitive maps, primitive to object maps and object to primitive maps with mutable and immutable variants.
|
org.eclipse.collections.api.map.sorted |
This package contains mutable and immutable sorted map interfaces.
|
org.eclipse.collections.api.multimap |
This package contains interfaces for
Multimap . |
org.eclipse.collections.api.stack |
This package contains interfaces for stack API.
|
org.eclipse.collections.impl |
This package contains implementations for Eclipse Collections API.
|
org.eclipse.collections.impl.bag.immutable |
This package contains implementations of the
ImmutableBag interface. |
org.eclipse.collections.impl.bag.mutable |
This package contains implementations of the
MutableBag interface. |
org.eclipse.collections.impl.bimap | |
org.eclipse.collections.impl.bimap.immutable | |
org.eclipse.collections.impl.bimap.mutable |
This package contains implementations of the
MutableBiMap interface. |
org.eclipse.collections.impl.block.factory |
This package contains factory implementations for
Function , Predicate , SerializableComparator and Procedure . |
org.eclipse.collections.impl.block.procedure |
This package contains implementations of
Procedure and Procedure2 . |
org.eclipse.collections.impl.collection | |
org.eclipse.collections.impl.collection.mutable |
This package contains implementations of the
MutableCollection interface. |
org.eclipse.collections.impl.collector | |
org.eclipse.collections.impl.factory |
This package contains static utilities for creating mutable and immutable collection factories.
|
org.eclipse.collections.impl.forkjoin |
This package contains implementations which has several parallel algorithms that work with Collections and make use of Java's fork-join
framework.
|
org.eclipse.collections.impl.lazy.parallel | |
org.eclipse.collections.impl.list.mutable |
This package contains implementations of the
MutableList interface. |
org.eclipse.collections.impl.map |
This package contains implementations of the
MapIterable interface. |
org.eclipse.collections.impl.map.immutable |
This package contains implementations of the
ImmutableMap interface. |
org.eclipse.collections.impl.map.mutable |
This package contains implementations of the
MutableMap interface. |
org.eclipse.collections.impl.map.mutable.primitive |
This package contains implementations of the mutable primitive-primitive, primitive-object and object-primitive map interfaces.
|
org.eclipse.collections.impl.map.sorted.mutable |
This package contains implementations of the
MutableSortedMap interface. |
org.eclipse.collections.impl.map.strategy.mutable |
This package contains mutable map implementations backed by hashtables that rely on
HashingStrategy s provided by
the developer to compute the hashCode and equals for the objects stored in the map. |
org.eclipse.collections.impl.multimap |
This package contains implementations of the
Multimap interface. |
org.eclipse.collections.impl.multimap.bag |
This package contains implementations of the
BagMultimap interface. |
org.eclipse.collections.impl.multimap.bag.sorted.immutable | |
org.eclipse.collections.impl.multimap.list |
This package contains implementations of the
ListMultimap interface. |
org.eclipse.collections.impl.multimap.set |
This package contains implementations of the
SetMultimap interface. |
org.eclipse.collections.impl.multimap.set.sorted |
This package contains implementations of the
SortedSetMultimap interface. |
org.eclipse.collections.impl.parallel |
This package contains classes which is used for parallel iteration through the containers.
|
org.eclipse.collections.impl.set | |
org.eclipse.collections.impl.set.mutable |
This package package contains implementations of
MutableSet . |
org.eclipse.collections.impl.stack.mutable |
This package contains implementations of the
MutableStack interface. |
org.eclipse.collections.impl.utility |
This package contains static utilities that provide iteration pattern implementations which work with JCF collections.
|
org.eclipse.collections.impl.utility.internal |
This package contains static utilities that provide internal iteration pattern implementations which work with JCF collections.
|
Modifier and Type | Method | Description |
---|---|---|
<V,R extends MutableMap<V,T>> |
RichIterable.groupByUniqueKey(Function<? super T,? extends V> function,
R target) |
Same as
RichIterable.groupByUniqueKey(Function) , except that the results are gathered into the specified target
map. |
Modifier and Type | Method | Description |
---|---|---|
<NK,NV> MutableMap<NK,NV> |
ParallelIterable.toMap(Function<? super T,? extends NK> keyFunction,
Function<? super T,? extends NV> valueFunction) |
|
<NK,NV> MutableMap<NK,NV> |
RichIterable.toMap(Function<? super T,? extends NK> keyFunction,
Function<? super T,? extends NV> valueFunction) |
Converts the collection to a MutableMap implementation using the specified key and value functions.
|
Modifier and Type | Method | Description |
---|---|---|
MutableMap<T,java.lang.Integer> |
MutableBag.toMapOfItemToCount() |
Modifier and Type | Method | Description |
---|---|---|
<K,V> MutableMap<K,V> |
MutableSortedBag.aggregateBy(Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Function2<? super V,? super T,? extends V> nonMutatingAggregator) |
Can return an MutableMap that's backed by a LinkedHashMap.
|
<K,V> MutableMap<K,V> |
MutableSortedBag.aggregateInPlaceBy(Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Procedure2<? super V,? super T> mutatingAggregator) |
Can return an MutableMap that's backed by a LinkedHashMap.
|
Modifier and Type | Method | Description |
---|---|---|
<K,V> MutableMap<K,V> |
MutableCollection.aggregateBy(Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Function2<? super V,? super T,? extends V> nonMutatingAggregator) |
|
<K,V> MutableMap<K,V> |
MutableCollection.aggregateInPlaceBy(Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Procedure2<? super V,? super T> mutatingAggregator) |
|
<V> MutableMap<V,T> |
MutableCollection.groupByUniqueKey(Function<? super T,? extends V> function) |
Modifier and Type | Method | Description |
---|---|---|
<K,V> MutableMap<K,V> |
MutableMapFactory.empty() |
|
<K,V> MutableMap<K,V> |
MutableMapFactory.of() |
Same as
MutableMapFactory.empty() . |
<K,V> MutableMap<K,V> |
MutableMapFactory.of(K key,
V value) |
|
<K,V> MutableMap<K,V> |
MutableMapFactory.of(K key1,
V value1,
K key2,
V value2) |
|
<K,V> MutableMap<K,V> |
MutableMapFactory.of(K key1,
V value1,
K key2,
V value2,
K key3,
V value3) |
|
<K,V> MutableMap<K,V> |
MutableMapFactory.of(K key1,
V value1,
K key2,
V value2,
K key3,
V value3,
K key4,
V value4) |
|
<K,V> MutableMap<K,V> |
MutableMapFactory.ofInitialCapacity(int capacity) |
Same as
MutableMapFactory.empty() . |
<K,V> MutableMap<K,V> |
MutableMapFactory.with() |
Same as
MutableMapFactory.empty() . |
<K,V> MutableMap<K,V> |
MutableMapFactory.with(K key,
V value) |
|
<K,V> MutableMap<K,V> |
MutableMapFactory.with(K key1,
V value1,
K key2,
V value2) |
|
<K,V> MutableMap<K,V> |
MutableMapFactory.with(K key1,
V value1,
K key2,
V value2,
K key3,
V value3) |
|
<K,V> MutableMap<K,V> |
MutableMapFactory.with(K key1,
V value1,
K key2,
V value2,
K key3,
V value3,
K key4,
V value4) |
|
<K,V> MutableMap<K,V> |
MutableMapFactory.withInitialCapacity(int capacity) |
Same as
MutableMapFactory.empty() . |
Modifier and Type | Method | Description |
---|---|---|
<K,V> MutableMap<K,V> |
MutableHashingStrategyMapFactory.of(HashingStrategy<? super K> hashingStrategy) |
|
<K,V> MutableMap<K,V> |
MutableHashingStrategyMapFactory.of(HashingStrategy<? super K> hashingStrategy,
K key,
V value) |
|
<K,V> MutableMap<K,V> |
MutableHashingStrategyMapFactory.of(HashingStrategy<? super K> hashingStrategy,
K key1,
V value1,
K key2,
V value2) |
|
<K,V> MutableMap<K,V> |
MutableHashingStrategyMapFactory.of(HashingStrategy<? super K> hashingStrategy,
K key1,
V value1,
K key2,
V value2,
K key3,
V value3) |
|
<K,V> MutableMap<K,V> |
MutableHashingStrategyMapFactory.of(HashingStrategy<? super K> hashingStrategy,
K key1,
V value1,
K key2,
V value2,
K key3,
V value3,
K key4,
V value4) |
|
<K,V> MutableMap<K,V> |
MutableHashingStrategyMapFactory.with(HashingStrategy<? super K> hashingStrategy) |
|
<K,V> MutableMap<K,V> |
MutableHashingStrategyMapFactory.with(HashingStrategy<? super K> hashingStrategy,
K key,
V value) |
|
<K,V> MutableMap<K,V> |
MutableHashingStrategyMapFactory.with(HashingStrategy<? super K> hashingStrategy,
K key1,
V value1,
K key2,
V value2) |
|
<K,V> MutableMap<K,V> |
MutableHashingStrategyMapFactory.with(HashingStrategy<? super K> hashingStrategy,
K key1,
V value1,
K key2,
V value2,
K key3,
V value3) |
|
<K,V> MutableMap<K,V> |
MutableHashingStrategyMapFactory.with(HashingStrategy<? super K> hashingStrategy,
K key1,
V value1,
K key2,
V value2,
K key3,
V value3,
K key4,
V value4) |
Modifier and Type | Interface | Description |
---|---|---|
interface |
ConcurrentMutableMap<K,V> |
A ConcurrentMutableMap provides an api which combines and supports both MutableMap and ConcurrentMap.
|
interface |
FixedSizeMap<K,V> |
A FixedSizeMap is a map that may be mutated, but cannot grow or shrink in size.
|
Modifier and Type | Method | Description |
---|---|---|
<K2,V2> MutableMap<K2,V2> |
MutableMap.aggregateBy(Function<? super V,? extends K2> groupBy,
Function0<? extends V2> zeroValueFactory,
Function2<? super V2,? super V,? extends V2> nonMutatingAggregator) |
|
<KK,VV> MutableMap<KK,VV> |
MutableMapIterable.aggregateBy(Function<? super V,? extends KK> groupBy,
Function0<? extends VV> zeroValueFactory,
Function2<? super VV,? super V,? extends VV> nonMutatingAggregator) |
|
<K2,V2> MutableMap<K2,V2> |
MutableMap.aggregateInPlaceBy(Function<? super V,? extends K2> groupBy,
Function0<? extends V2> zeroValueFactory,
Procedure2<? super V2,? super V> mutatingAggregator) |
|
<KK,VV> MutableMap<KK,VV> |
MutableMapIterable.aggregateInPlaceBy(Function<? super V,? extends KK> groupBy,
Function0<? extends VV> zeroValueFactory,
Procedure2<? super VV,? super V> mutatingAggregator) |
|
MutableMap<K,V> |
MutableMap.asSynchronized() |
|
MutableMap<K,V> |
MutableMap.asUnmodifiable() |
|
MutableMap<K,V> |
MutableMap.clone() |
|
<K2,V2> MutableMap<K2,V2> |
MutableMap.collect(Function2<? super K,? super V,Pair<K2,V2>> function) |
|
<E> MutableMap<K,V> |
MutableMap.collectKeysAndValues(java.lang.Iterable<E> iterable,
Function<? super E,? extends K> keyFunction,
Function<? super E,? extends V> valueFunction) |
Adds all the entries derived from
iterable to this . |
<R> MutableMap<K,R> |
MutableMap.collectValues(Function2<? super K,? super V,? extends R> function) |
|
MutableMap<V,K> |
MutableMap.flipUniqueValues() |
|
<V1> MutableMap<V1,V> |
MutableMap.groupByUniqueKey(Function<? super V,? extends V1> function) |
|
MutableMap<K,V> |
MutableMap.newEmpty() |
|
MutableMap<K,V> |
MutableMap.reject(Predicate2<? super K,? super V> predicate) |
|
MutableMap<K,V> |
MutableMap.select(Predicate2<? super K,? super V> predicate) |
|
MutableMap<K,V> |
MutableMap.tap(Procedure<? super V> procedure) |
|
MutableMap<K,V> |
ImmutableMap.toMap() |
|
MutableMap<K,V> |
MutableMap.withAllKeyValueArguments(Pair<? extends K,? extends V>... keyValuePairs) |
|
MutableMap<K,V> |
MutableMap.withAllKeyValues(java.lang.Iterable<? extends Pair<? extends K,? extends V>> keyValues) |
|
MutableMap<K,V> |
MutableMap.withKeyValue(K key,
V value) |
|
MutableMap<K,V> |
MutableMap.withoutAllKeys(java.lang.Iterable<? extends K> keys) |
|
MutableMap<K,V> |
MutableMap.withoutKey(K key) |
Modifier and Type | Method | Description |
---|---|---|
<K,VV> MutableMap<K,VV> |
MutablePrimitiveObjectMap.aggregateBy(Function<? super V,? extends K> groupBy,
Function0<? extends VV> zeroValueFactory,
Function2<? super VV,? super V,? extends VV> nonMutatingAggregator) |
|
<K,VV> MutableMap<K,VV> |
MutablePrimitiveObjectMap.aggregateInPlaceBy(Function<? super V,? extends K> groupBy,
Function0<? extends VV> zeroValueFactory,
Procedure2<? super VV,? super V> mutatingAggregator) |
|
<VV> MutableMap<VV,V> |
MutablePrimitiveObjectMap.groupByUniqueKey(Function<? super V,? extends VV> function) |
Modifier and Type | Method | Description |
---|---|---|
<K2,V2> MutableMap<K2,V2> |
MutableSortedMap.collect(Function2<? super K,? super V,Pair<K2,V2>> function) |
|
<VV> MutableMap<VV,V> |
MutableSortedMap.groupByUniqueKey(Function<? super V,? extends VV> function) |
Modifier and Type | Method | Description |
---|---|---|
MutableMap<K,RichIterable<V>> |
Multimap.toMap() |
Returns a new
MutableMap of keys from this Multimap to the mapped values as a RichIterable . |
<R extends java.util.Collection<V>> |
Multimap.toMap(Function0<R> collectionFactory) |
Returns a new
MutableMap of keys from this Multimap to the mapped values as a RichIterable . |
Modifier and Type | Method | Description |
---|---|---|
<K,V> MutableMap<K,V> |
MutableStack.aggregateBy(Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Function2<? super V,? super T,? extends V> nonMutatingAggregator) |
|
<K,V> MutableMap<K,V> |
MutableStack.aggregateInPlaceBy(Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Procedure2<? super V,? super T> mutatingAggregator) |
|
<V> MutableMap<V,T> |
MutableStack.groupByUniqueKey(Function<? super T,? extends V> function) |
Modifier and Type | Method | Description |
---|---|---|
<V,R extends MutableMap<V,T>> |
AbstractRichIterable.groupByUniqueKey(Function<? super T,? extends V> function,
R target) |
|
<V,R extends MutableMap<V,T>> |
UnmodifiableRichIterable.groupByUniqueKey(Function<? super T,? extends V> function,
R target) |
Modifier and Type | Method | Description |
---|---|---|
<K,V> MutableMap<K,V> |
AbstractRichIterable.toMap(Function<? super T,? extends K> keyFunction,
Function<? super T,? extends V> valueFunction) |
|
<NK,NV> MutableMap<NK,NV> |
UnmodifiableRichIterable.toMap(Function<? super T,? extends NK> keyFunction,
Function<? super T,? extends NV> valueFunction) |
Modifier and Type | Method | Description |
---|---|---|
<K,V> MutableMap<K,V> |
ImmutableHashBag.toMap(Function<? super T,? extends K> keyFunction,
Function<? super T,? extends V> valueFunction) |
|
MutableMap<T,java.lang.Integer> |
ImmutableArrayBag.toMapOfItemToCount() |
|
MutableMap<T,java.lang.Integer> |
ImmutableHashBag.toMapOfItemToCount() |
Modifier and Type | Method | Description |
---|---|---|
<K,V> MutableMap<K,V> |
AbstractMutableBagIterable.aggregateBy(Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Function2<? super V,? super T,? extends V> nonMutatingAggregator) |
|
<K,V> MutableMap<K,V> |
AbstractMutableBagIterable.aggregateInPlaceBy(Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Procedure2<? super V,? super T> mutatingAggregator) |
|
<V> MutableMap<V,T> |
AbstractMutableBagIterable.groupByUniqueKey(Function<? super T,? extends V> function) |
|
<V> MutableMap<V,T> |
MultiReaderHashBag.groupByUniqueKey(Function<? super T,? extends V> function) |
|
MutableMap<T,java.lang.Integer> |
AbstractHashBag.toMapOfItemToCount() |
|
MutableMap<T,java.lang.Integer> |
MultiReaderHashBag.toMapOfItemToCount() |
|
MutableMap<T,java.lang.Integer> |
SynchronizedBag.toMapOfItemToCount() |
|
MutableMap<T,java.lang.Integer> |
UnmodifiableBag.toMapOfItemToCount() |
Modifier and Type | Method | Description |
---|---|---|
<VV,R extends MutableMap<VV,V>> |
AbstractBiMap.groupByUniqueKey(Function<? super V,? extends VV> function,
R target) |
Modifier and Type | Method | Description |
---|---|---|
<NK,NV> MutableMap<NK,NV> |
AbstractBiMap.toMap(Function<? super V,? extends NK> keyFunction,
Function<? super V,? extends NV> valueFunction) |
Modifier and Type | Method | Description |
---|---|---|
MutableMap<K,V> |
AbstractImmutableBiMap.toMap() |
Modifier and Type | Method | Description |
---|---|---|
<VV,R extends MutableMap<VV,V>> |
UnmodifiableBiMap.groupByUniqueKey(Function<? super V,? extends VV> function,
R target) |
Modifier and Type | Method | Description |
---|---|---|
<K,V1> MutableMap<K,V1> |
UnmodifiableBiMap.aggregateBy(Function<? super V,? extends K> groupBy,
Function0<? extends V1> zeroValueFactory,
Function2<? super V1,? super V,? extends V1> nonMutatingAggregator) |
|
<K,V1> MutableMap<K,V1> |
UnmodifiableBiMap.aggregateInPlaceBy(Function<? super V,? extends K> groupBy,
Function0<? extends V1> zeroValueFactory,
Procedure2<? super V1,? super V> mutatingAggregator) |
|
<NK,NV> MutableMap<NK,NV> |
UnmodifiableBiMap.toMap(Function<? super V,? extends NK> keyFunction,
Function<? super V,? extends NV> valueFunction) |
Modifier and Type | Method | Description |
---|---|---|
static <K,V> Function0<MutableMap<K,V>> |
Functions0.newUnifiedMap() |
Constructor | Description |
---|---|
MutatingAggregationProcedure(MutableMap<K,V> map,
Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Procedure2<? super V,? super T> mutatingAggregator) |
|
NonMutatingAggregationProcedure(MutableMap<K,V> map,
Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Function2<? super V,? super T,? extends V> nonMutatingAggregator) |
Modifier and Type | Method | Description |
---|---|---|
<V,R extends MutableMap<V,T>> |
AbstractSynchronizedRichIterable.groupByUniqueKey(Function<? super T,? extends V> function,
R target) |
Modifier and Type | Method | Description |
---|---|---|
<NK,NV> MutableMap<NK,NV> |
AbstractSynchronizedRichIterable.toMap(Function<? super T,? extends NK> keyFunction,
Function<? super T,? extends NV> valueFunction) |
Modifier and Type | Method | Description |
---|---|---|
<V,R extends MutableMap<V,T>> |
AbstractCollectionAdapter.groupByUniqueKey(Function<? super T,? extends V> function,
R target) |
|
<V,R extends MutableMap<V,T>> |
AbstractMultiReaderMutableCollection.groupByUniqueKey(Function<? super T,? extends V> function,
R target) |
|
<V,R extends MutableMap<V,T>> |
AbstractUnmodifiableMutableCollection.groupByUniqueKey(Function<? super T,? extends V> function,
R target) |
Modifier and Type | Method | Description |
---|---|---|
<K,V> MutableMap<K,V> |
AbstractCollectionAdapter.aggregateBy(Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Function2<? super V,? super T,? extends V> nonMutatingAggregator) |
|
<K,V> MutableMap<K,V> |
AbstractMultiReaderMutableCollection.aggregateBy(Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Function2<? super V,? super T,? extends V> nonMutatingAggregator) |
|
<K,V> MutableMap<K,V> |
AbstractMutableCollection.aggregateBy(Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Function2<? super V,? super T,? extends V> nonMutatingAggregator) |
|
<K,V> MutableMap<K,V> |
AbstractSynchronizedMutableCollection.aggregateBy(Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Function2<? super V,? super T,? extends V> nonMutatingAggregator) |
|
<K,V> MutableMap<K,V> |
AbstractUnmodifiableMutableCollection.aggregateBy(Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Function2<? super V,? super T,? extends V> nonMutatingAggregator) |
|
<K,V> MutableMap<K,V> |
AbstractCollectionAdapter.aggregateInPlaceBy(Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Procedure2<? super V,? super T> mutatingAggregator) |
|
<K,V> MutableMap<K,V> |
AbstractMultiReaderMutableCollection.aggregateInPlaceBy(Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Procedure2<? super V,? super T> mutatingAggregator) |
|
<K,V> MutableMap<K,V> |
AbstractMutableCollection.aggregateInPlaceBy(Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Procedure2<? super V,? super T> mutatingAggregator) |
|
<K,V> MutableMap<K,V> |
AbstractSynchronizedMutableCollection.aggregateInPlaceBy(Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Procedure2<? super V,? super T> mutatingAggregator) |
|
<K,V> MutableMap<K,V> |
AbstractUnmodifiableMutableCollection.aggregateInPlaceBy(Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Procedure2<? super V,? super T> mutatingAggregator) |
|
<V> MutableMap<V,T> |
AbstractCollectionAdapter.groupByUniqueKey(Function<? super T,? extends V> function) |
|
<V> MutableMap<V,T> |
AbstractMutableCollection.groupByUniqueKey(Function<? super T,? extends V> function) |
|
<V> MutableMap<V,T> |
AbstractSynchronizedMutableCollection.groupByUniqueKey(Function<? super T,? extends V> function) |
|
<V> MutableMap<V,T> |
AbstractUnmodifiableMutableCollection.groupByUniqueKey(Function<? super T,? extends V> function) |
|
<K,V> MutableMap<K,V> |
AbstractCollectionAdapter.toMap(Function<? super T,? extends K> keyFunction,
Function<? super T,? extends V> valueFunction) |
|
<NK,NV> MutableMap<NK,NV> |
AbstractMultiReaderMutableCollection.toMap(Function<? super T,? extends NK> keyFunction,
Function<? super T,? extends NV> valueFunction) |
|
<NK,NV> MutableMap<NK,NV> |
AbstractUnmodifiableMutableCollection.toMap(Function<? super T,? extends NK> keyFunction,
Function<? super T,? extends NV> valueFunction) |
Modifier and Type | Method | Description |
---|---|---|
static <T,V> java.util.stream.Collector<T,?,MutableMap<V,java.math.BigDecimal>> |
Collectors2.sumByBigDecimal(Function<? super T,? extends V> groupBy,
Function<? super T,java.math.BigDecimal> function) |
Groups and sums the values using the two specified functions.
|
static <T,V> java.util.stream.Collector<T,?,MutableMap<V,java.math.BigInteger>> |
Collectors2.sumByBigInteger(Function<? super T,? extends V> groupBy,
Function<? super T,java.math.BigInteger> function) |
Groups and sums the values using the two specified functions.
|
static <T,K,V> java.util.stream.Collector<T,?,MutableMap<K,V>> |
Collectors2.toMap(Function<? super T,? extends K> keyFunction,
Function<? super T,? extends V> valueFunction) |
Returns the elements as a MutableMap applying the keyFunction and valueFunction to each element.
|
Modifier and Type | Method | Description |
---|---|---|
static <K,V> MutableMap<K,V> |
Maps.adapt(java.util.Map<K,V> list) |
|
static <K,V> MutableMap<K,V> |
Iterables.mMap() |
|
static <K,V> MutableMap<K,V> |
Iterables.mMap(K key,
V value) |
|
static <K,V> MutableMap<K,V> |
Iterables.mMap(K key1,
V value1,
K key2,
V value2) |
|
static <K,V> MutableMap<K,V> |
Iterables.mMap(K key1,
V value1,
K key2,
V value2,
K key3,
V value3) |
|
static <K,V> MutableMap<K,V> |
Iterables.mMap(K key1,
V value1,
K key2,
V value2,
K key3,
V value3,
K key4,
V value4) |
Modifier and Type | Method | Description |
---|---|---|
static <T,K,V,R extends MutableMap<K,V>> |
FJIterate.aggregateBy(java.lang.Iterable<T> iterable,
Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Function2<? super V,? super T,? extends V> nonMutatingAggregator,
R mutableMap) |
|
static <T,K,V,R extends MutableMap<K,V>> |
FJIterate.aggregateBy(java.lang.Iterable<T> iterable,
Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Function2<? super V,? super T,? extends V> nonMutatingAggregator,
R mutableMap,
int batchSize) |
|
static <T,K,V,R extends MutableMap<K,V>> |
FJIterate.aggregateBy(java.lang.Iterable<T> iterable,
Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Function2<? super V,? super T,? extends V> nonMutatingAggregator,
R mutableMap,
int batchSize,
java.util.concurrent.ForkJoinPool executor) |
|
static <T,K,V,R extends MutableMap<K,V>> |
FJIterate.aggregateInPlaceBy(java.lang.Iterable<T> iterable,
Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Procedure2<? super V,? super T> mutatingAggregator,
R mutableMap) |
|
static <T,K,V,R extends MutableMap<K,V>> |
FJIterate.aggregateInPlaceBy(java.lang.Iterable<T> iterable,
Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Procedure2<? super V,? super T> mutatingAggregator,
R mutableMap,
int batchSize) |
|
static <T,K,V,R extends MutableMap<K,V>> |
FJIterate.aggregateInPlaceBy(java.lang.Iterable<T> iterable,
Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Procedure2<? super V,? super T> mutatingAggregator,
R mutableMap,
int batchSize,
java.util.concurrent.ForkJoinPool executor) |
Modifier and Type | Method | Description |
---|---|---|
static <T,K,V> MutableMap<K,V> |
FJIterate.aggregateBy(java.lang.Iterable<T> iterable,
Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Function2<? super V,? super T,? extends V> nonMutatingAggregator) |
|
static <T,K,V> MutableMap<K,V> |
FJIterate.aggregateBy(java.lang.Iterable<T> iterable,
Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Function2<? super V,? super T,? extends V> nonMutatingAggregator,
int batchSize) |
|
static <T,K,V> MutableMap<K,V> |
FJIterate.aggregateBy(java.lang.Iterable<T> iterable,
Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Function2<? super V,? super T,? extends V> nonMutatingAggregator,
int batchSize,
java.util.concurrent.ForkJoinPool executor) |
|
static <T,K,V> MutableMap<K,V> |
FJIterate.aggregateInPlaceBy(java.lang.Iterable<T> iterable,
Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Procedure2<? super V,? super T> mutatingAggregator) |
|
static <T,K,V> MutableMap<K,V> |
FJIterate.aggregateInPlaceBy(java.lang.Iterable<T> iterable,
Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Procedure2<? super V,? super T> mutatingAggregator,
int batchSize) |
|
static <T,K,V> MutableMap<K,V> |
FJIterate.aggregateInPlaceBy(java.lang.Iterable<T> iterable,
Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Procedure2<? super V,? super T> mutatingAggregator,
int batchSize,
java.util.concurrent.ForkJoinPool executor) |
Modifier and Type | Method | Description |
---|---|---|
<NK,NV> MutableMap<NK,NV> |
AbstractMultiReaderParallelIterable.toMap(Function<? super T,? extends NK> keyFunction,
Function<? super T,? extends NV> valueFunction) |
|
<NK,NV> MutableMap<NK,NV> |
AbstractParallelIterable.toMap(Function<? super T,? extends NK> keyFunction,
Function<? super T,? extends NV> valueFunction) |
|
<NK,NV> MutableMap<NK,NV> |
AbstractSynchronizedParallelIterable.toMap(Function<? super T,? extends NK> keyFunction,
Function<? super T,? extends NV> valueFunction) |
|
<NK,NV> MutableMap<NK,NV> |
NonParallelIterable.toMap(Function<? super T,? extends NK> keyFunction,
Function<? super T,? extends NV> valueFunction) |
Modifier and Type | Method | Description |
---|---|---|
<K,R extends MutableMap<K,T>> |
FastList.groupByUniqueKey(Function<? super T,? extends K> function,
R target) |
Modifier and Type | Method | Description |
---|---|---|
<K> MutableMap<K,T> |
AbstractMutableList.groupByUniqueKey(Function<? super T,? extends K> function) |
|
<K> MutableMap<K,T> |
FastList.groupByUniqueKey(Function<? super T,? extends K> function) |
|
<V> MutableMap<V,T> |
MultiReaderFastList.groupByUniqueKey(Function<? super T,? extends V> function) |
Modifier and Type | Method | Description |
---|---|---|
<KK,VV> MutableMap<KK,VV> |
AbstractSynchronizedMapIterable.aggregateBy(Function<? super V,? extends KK> groupBy,
Function0<? extends VV> zeroValueFactory,
Function2<? super VV,? super V,? extends VV> nonMutatingAggregator) |
|
<KK,VV> MutableMap<KK,VV> |
AbstractSynchronizedMapIterable.aggregateInPlaceBy(Function<? super V,? extends KK> groupBy,
Function0<? extends VV> zeroValueFactory,
Procedure2<? super VV,? super V> mutatingAggregator) |
Modifier and Type | Method | Description |
---|---|---|
MutableMap<K,V> |
AbstractImmutableMap.toMap() |
Modifier and Type | Class | Description |
---|---|---|
class |
AbstractMutableMap<K,V> |
|
class |
ConcurrentHashMap<K,V> |
|
class |
ConcurrentHashMapUnsafe<K,V> |
|
class |
ConcurrentMutableHashMap<K,V> |
Deprecated.
since 2.0
|
class |
MapAdapter<K,V> |
This class provides a MutableMap wrapper around a JDK Collections Map interface instance.
|
class |
SynchronizedMutableMap<K,V> |
A synchronized view of a
MutableMap . |
class |
UnifiedMap<K,V> |
UnifiedMap stores key/value pairs in a single array, where alternate slots are keys and values.
|
class |
UnmodifiableMutableMap<K,V> |
An unmodifiable view of a map.
|
Modifier and Type | Method | Description |
---|---|---|
<VV,R extends MutableMap<VV,V>> |
UnmodifiableMutableMap.groupByUniqueKey(Function<? super V,? extends VV> function,
R target) |
Modifier and Type | Method | Description |
---|---|---|
static <K,V> MutableMap<K,V> |
MapAdapter.adapt(java.util.Map<K,V> map) |
|
<K2,V2> MutableMap<K2,V2> |
AbstractMutableMapIterable.aggregateBy(Function<? super V,? extends K2> groupBy,
Function0<? extends V2> zeroValueFactory,
Function2<? super V2,? super V,? extends V2> nonMutatingAggregator) |
|
<K2,V2> MutableMap<K2,V2> |
UnmodifiableMutableMap.aggregateBy(Function<? super V,? extends K2> groupBy,
Function0<? extends V2> zeroValueFactory,
Function2<? super V2,? super V,? extends V2> nonMutatingAggregator) |
|
<K2,V2> MutableMap<K2,V2> |
AbstractMutableMapIterable.aggregateInPlaceBy(Function<? super V,? extends K2> groupBy,
Function0<? extends V2> zeroValueFactory,
Procedure2<? super V2,? super V> mutatingAggregator) |
|
<K2,V2> MutableMap<K2,V2> |
UnmodifiableMutableMap.aggregateInPlaceBy(Function<? super V,? extends K2> groupBy,
Function0<? extends V2> zeroValueFactory,
Procedure2<? super V2,? super V> mutatingAggregator) |
|
MutableMap<K,V> |
AbstractMutableMap.asSynchronized() |
|
MutableMap<K,V> |
SynchronizedMutableMap.asSynchronized() |
|
MutableMap<K,V> |
UnmodifiableMutableMap.asSynchronized() |
|
MutableMap<K,V> |
AbstractMutableMap.asUnmodifiable() |
|
MutableMap<K,V> |
SynchronizedMutableMap.asUnmodifiable() |
|
MutableMap<K,V> |
UnmodifiableMutableMap.asUnmodifiable() |
|
abstract MutableMap<K,V> |
AbstractMutableMap.clone() |
|
MutableMap<K,V> |
ConcurrentHashMap.clone() |
|
MutableMap<K,V> |
ConcurrentHashMapUnsafe.clone() |
|
MutableMap<K,V> |
ConcurrentMutableHashMap.clone() |
Deprecated.
|
MutableMap<K,V> |
MapAdapter.clone() |
|
MutableMap<K,V> |
SynchronizedMutableMap.clone() |
|
MutableMap<K,V> |
UnmodifiableMutableMap.clone() |
|
<K2,V2> MutableMap<K2,V2> |
AbstractMutableMapIterable.collect(Function2<? super K,? super V,Pair<K2,V2>> function) |
|
<K2,V2> MutableMap<K2,V2> |
SynchronizedMutableMap.collect(Function2<? super K,? super V,Pair<K2,V2>> pairFunction) |
|
<K2,V2> MutableMap<K2,V2> |
UnmodifiableMutableMap.collect(Function2<? super K,? super V,Pair<K2,V2>> function) |
|
<E> MutableMap<K,V> |
ConcurrentHashMap.collectKeysAndValues(java.lang.Iterable<E> iterable,
Function<? super E,? extends K> keyFunction,
Function<? super E,? extends V> valueFunction) |
|
<E> MutableMap<K,V> |
ConcurrentHashMapUnsafe.collectKeysAndValues(java.lang.Iterable<E> iterable,
Function<? super E,? extends K> keyFunction,
Function<? super E,? extends V> valueFunction) |
|
<E> MutableMap<K,V> |
ConcurrentMutableHashMap.collectKeysAndValues(java.lang.Iterable<E> iterable,
Function<? super E,? extends K> keyFunction,
Function<? super E,? extends V> valueFunction) |
Deprecated.
|
<E> MutableMap<K,V> |
MapAdapter.collectKeysAndValues(java.lang.Iterable<E> iterable,
Function<? super E,? extends K> keyFunction,
Function<? super E,? extends V> valueFunction) |
|
<E> MutableMap<K,V> |
SynchronizedMutableMap.collectKeysAndValues(java.lang.Iterable<E> iterable,
Function<? super E,? extends K> keyFunction,
Function<? super E,? extends V> function) |
|
<E> MutableMap<K,V> |
UnifiedMap.collectKeysAndValues(java.lang.Iterable<E> iterable,
Function<? super E,? extends K> keyFunction,
Function<? super E,? extends V> valueFunction) |
|
<E> MutableMap<K,V> |
UnmodifiableMutableMap.collectKeysAndValues(java.lang.Iterable<E> iterable,
Function<? super E,? extends K> keyFunction,
Function<? super E,? extends V> valueFunction) |
|
<R> MutableMap<K,R> |
AbstractMutableMap.collectValues(Function2<? super K,? super V,? extends R> function) |
|
<R> MutableMap<K,R> |
SynchronizedMutableMap.collectValues(Function2<? super K,? super V,? extends R> function) |
|
<R> MutableMap<K,R> |
UnifiedMap.collectValues(Function2<? super K,? super V,? extends R> function) |
|
<R> MutableMap<K,R> |
UnmodifiableMutableMap.collectValues(Function2<? super K,? super V,? extends R> function) |
|
<K,V> MutableMap<K,V> |
MutableMapFactoryImpl.empty() |
|
MutableMap<V,K> |
AbstractMutableMapIterable.flipUniqueValues() |
|
MutableMap<V,K> |
SynchronizedMutableMap.flipUniqueValues() |
|
MutableMap<V,K> |
UnmodifiableMutableMap.flipUniqueValues() |
|
<VV> MutableMap<VV,V> |
AbstractMutableMap.groupByUniqueKey(Function<? super V,? extends VV> function) |
|
<VV> MutableMap<VV,V> |
SynchronizedMutableMap.groupByUniqueKey(Function<? super V,? extends VV> function) |
|
<VV> MutableMap<VV,V> |
UnmodifiableMutableMap.groupByUniqueKey(Function<? super V,? extends VV> function) |
|
abstract <K,V> MutableMap<K,V> |
AbstractMutableMap.newEmpty(int capacity) |
Creates a new instance of the same type, using the given capacity and the default growth parameters.
|
MutableMap<K,V> |
ConcurrentHashMap.newEmpty() |
|
<K,V> MutableMap<K,V> |
ConcurrentHashMap.newEmpty(int capacity) |
|
MutableMap<K,V> |
ConcurrentHashMapUnsafe.newEmpty() |
|
<K,V> MutableMap<K,V> |
ConcurrentHashMapUnsafe.newEmpty(int capacity) |
|
MutableMap<K,V> |
ConcurrentMutableHashMap.newEmpty() |
Deprecated.
|
<K,V> MutableMap<K,V> |
ConcurrentMutableHashMap.newEmpty(int capacity) |
Deprecated.
|
MutableMap<K,V> |
MapAdapter.newEmpty() |
|
<K,V> MutableMap<K,V> |
MapAdapter.newEmpty(int capacity) |
|
MutableMap<K,V> |
SynchronizedMutableMap.newEmpty() |
|
MutableMap<K,V> |
UnifiedMap.newEmpty() |
|
MutableMap<K,V> |
UnifiedMap.newEmpty(int capacity) |
|
MutableMap<K,V> |
UnmodifiableMutableMap.newEmpty() |
|
<K,V> MutableMap<K,V> |
MutableMapFactoryImpl.of() |
|
<K,V> MutableMap<K,V> |
MutableMapFactoryImpl.of(K key,
V value) |
|
<K,V> MutableMap<K,V> |
MutableMapFactoryImpl.of(K key1,
V value1,
K key2,
V value2) |
|
<K,V> MutableMap<K,V> |
MutableMapFactoryImpl.of(K key1,
V value1,
K key2,
V value2,
K key3,
V value3) |
|
<K,V> MutableMap<K,V> |
MutableMapFactoryImpl.of(K key1,
V value1,
K key2,
V value2,
K key3,
V value3,
K key4,
V value4) |
|
<K,V> MutableMap<K,V> |
MutableMapFactoryImpl.ofInitialCapacity(int capacity) |
|
MutableMap<K,V> |
AbstractMutableMap.reject(Predicate2<? super K,? super V> predicate) |
|
MutableMap<K,V> |
SynchronizedMutableMap.reject(Predicate2<? super K,? super V> predicate) |
|
MutableMap<K,V> |
UnmodifiableMutableMap.reject(Predicate2<? super K,? super V> predicate) |
|
MutableMap<K,V> |
AbstractMutableMap.select(Predicate2<? super K,? super V> predicate) |
|
MutableMap<K,V> |
SynchronizedMutableMap.select(Predicate2<? super K,? super V> predicate) |
|
MutableMap<K,V> |
UnmodifiableMutableMap.select(Predicate2<? super K,? super V> predicate) |
|
MutableMap<K,V> |
AbstractMutableMap.tap(Procedure<? super V> procedure) |
|
MutableMap<K,V> |
SynchronizedMutableMap.tap(Procedure<? super V> procedure) |
|
MutableMap<K,V> |
UnmodifiableMutableMap.tap(Procedure<? super V> procedure) |
|
<NK,NV> MutableMap<NK,NV> |
UnmodifiableMutableMap.toMap(Function<? super V,? extends NK> keyFunction,
Function<? super V,? extends NV> valueFunction) |
|
<K,V> MutableMap<K,V> |
MutableMapFactoryImpl.with() |
|
<K,V> MutableMap<K,V> |
MutableMapFactoryImpl.with(K key,
V value) |
|
<K,V> MutableMap<K,V> |
MutableMapFactoryImpl.with(K key1,
V value1,
K key2,
V value2) |
|
<K,V> MutableMap<K,V> |
MutableMapFactoryImpl.with(K key1,
V value1,
K key2,
V value2,
K key3,
V value3) |
|
<K,V> MutableMap<K,V> |
MutableMapFactoryImpl.with(K key1,
V value1,
K key2,
V value2,
K key3,
V value3,
K key4,
V value4) |
|
MutableMap<K,V> |
AbstractMutableMap.withAllKeyValueArguments(Pair<? extends K,? extends V>... keyValues) |
|
MutableMap<K,V> |
SynchronizedMutableMap.withAllKeyValueArguments(Pair<? extends K,? extends V>... keyValuePairs) |
|
MutableMap<K,V> |
UnmodifiableMutableMap.withAllKeyValueArguments(Pair<? extends K,? extends V>... keyValuePairs) |
|
MutableMap<K,V> |
AbstractMutableMap.withAllKeyValues(java.lang.Iterable<? extends Pair<? extends K,? extends V>> keyValues) |
|
MutableMap<K,V> |
SynchronizedMutableMap.withAllKeyValues(java.lang.Iterable<? extends Pair<? extends K,? extends V>> keyValues) |
|
MutableMap<K,V> |
UnmodifiableMutableMap.withAllKeyValues(java.lang.Iterable<? extends Pair<? extends K,? extends V>> keyValues) |
|
<K,V> MutableMap<K,V> |
MutableMapFactoryImpl.withInitialCapacity(int capacity) |
|
MutableMap<K,V> |
AbstractMutableMap.withKeyValue(K key,
V value) |
|
MutableMap<K,V> |
SynchronizedMutableMap.withKeyValue(K key,
V value) |
|
MutableMap<K,V> |
UnmodifiableMutableMap.withKeyValue(K key,
V value) |
|
MutableMap<K,V> |
AbstractMutableMap.withoutAllKeys(java.lang.Iterable<? extends K> keys) |
|
MutableMap<K,V> |
SynchronizedMutableMap.withoutAllKeys(java.lang.Iterable<? extends K> keys) |
|
MutableMap<K,V> |
UnmodifiableMutableMap.withoutAllKeys(java.lang.Iterable<? extends K> keys) |
|
MutableMap<K,V> |
AbstractMutableMap.withoutKey(K key) |
|
MutableMap<K,V> |
SynchronizedMutableMap.withoutKey(K key) |
|
MutableMap<K,V> |
UnmodifiableMutableMap.withoutKey(K key) |
Constructor | Description |
---|---|
SynchronizedMutableMap(MutableMap<K,V> newMap) |
|
SynchronizedMutableMap(MutableMap<K,V> newMap,
java.lang.Object newLock) |
Modifier and Type | Method | Description |
---|---|---|
<VV,R extends MutableMap<VV,V>> |
ByteObjectHashMap.groupByUniqueKey(Function<? super V,? extends VV> function,
R target) |
|
<VV,R extends MutableMap<VV,V>> |
CharObjectHashMap.groupByUniqueKey(Function<? super V,? extends VV> function,
R target) |
|
<VV,R extends MutableMap<VV,V>> |
DoubleObjectHashMap.groupByUniqueKey(Function<? super V,? extends VV> function,
R target) |
|
<VV,R extends MutableMap<VV,V>> |
FloatObjectHashMap.groupByUniqueKey(Function<? super V,? extends VV> function,
R target) |
|
<VV,R extends MutableMap<VV,V>> |
IntObjectHashMap.groupByUniqueKey(Function<? super V,? extends VV> function,
R target) |
|
<VV,R extends MutableMap<VV,V>> |
LongObjectHashMap.groupByUniqueKey(Function<? super V,? extends VV> function,
R target) |
|
<VV,R extends MutableMap<VV,V>> |
ShortObjectHashMap.groupByUniqueKey(Function<? super V,? extends VV> function,
R target) |
|
<VV,R extends MutableMap<VV,V>> |
SynchronizedByteObjectMap.groupByUniqueKey(Function<? super V,? extends VV> function,
R target) |
|
<VV,R extends MutableMap<VV,V>> |
SynchronizedCharObjectMap.groupByUniqueKey(Function<? super V,? extends VV> function,
R target) |
|
<VV,R extends MutableMap<VV,V>> |
SynchronizedDoubleObjectMap.groupByUniqueKey(Function<? super V,? extends VV> function,
R target) |
|
<VV,R extends MutableMap<VV,V>> |
SynchronizedFloatObjectMap.groupByUniqueKey(Function<? super V,? extends VV> function,
R target) |
|
<VV,R extends MutableMap<VV,V>> |
SynchronizedIntObjectMap.groupByUniqueKey(Function<? super V,? extends VV> function,
R target) |
|
<VV,R extends MutableMap<VV,V>> |
SynchronizedLongObjectMap.groupByUniqueKey(Function<? super V,? extends VV> function,
R target) |
|
<VV,R extends MutableMap<VV,V>> |
SynchronizedShortObjectMap.groupByUniqueKey(Function<? super V,? extends VV> function,
R target) |
|
<V1,R extends MutableMap<V1,V>> |
UnmodifiableByteObjectMap.groupByUniqueKey(Function<? super V,? extends V1> function,
R target) |
|
<V1,R extends MutableMap<V1,V>> |
UnmodifiableCharObjectMap.groupByUniqueKey(Function<? super V,? extends V1> function,
R target) |
|
<V1,R extends MutableMap<V1,V>> |
UnmodifiableDoubleObjectMap.groupByUniqueKey(Function<? super V,? extends V1> function,
R target) |
|
<V1,R extends MutableMap<V1,V>> |
UnmodifiableFloatObjectMap.groupByUniqueKey(Function<? super V,? extends V1> function,
R target) |
|
<V1,R extends MutableMap<V1,V>> |
UnmodifiableIntObjectMap.groupByUniqueKey(Function<? super V,? extends V1> function,
R target) |
|
<V1,R extends MutableMap<V1,V>> |
UnmodifiableLongObjectMap.groupByUniqueKey(Function<? super V,? extends V1> function,
R target) |
|
<V1,R extends MutableMap<V1,V>> |
UnmodifiableShortObjectMap.groupByUniqueKey(Function<? super V,? extends V1> function,
R target) |
Modifier and Type | Method | Description |
---|---|---|
<K,VV> MutableMap<K,VV> |
ByteObjectHashMap.aggregateBy(Function<? super V,? extends K> groupBy,
Function0<? extends VV> zeroValueFactory,
Function2<? super VV,? super V,? extends VV> nonMutatingAggregator) |
|
<K,VV> MutableMap<K,VV> |
CharObjectHashMap.aggregateBy(Function<? super V,? extends K> groupBy,
Function0<? extends VV> zeroValueFactory,
Function2<? super VV,? super V,? extends VV> nonMutatingAggregator) |
|
<K,VV> MutableMap<K,VV> |
DoubleObjectHashMap.aggregateBy(Function<? super V,? extends K> groupBy,
Function0<? extends VV> zeroValueFactory,
Function2<? super VV,? super V,? extends VV> nonMutatingAggregator) |
|
<K,VV> MutableMap<K,VV> |
FloatObjectHashMap.aggregateBy(Function<? super V,? extends K> groupBy,
Function0<? extends VV> zeroValueFactory,
Function2<? super VV,? super V,? extends VV> nonMutatingAggregator) |
|
<K,VV> MutableMap<K,VV> |
IntObjectHashMap.aggregateBy(Function<? super V,? extends K> groupBy,
Function0<? extends VV> zeroValueFactory,
Function2<? super VV,? super V,? extends VV> nonMutatingAggregator) |
|
<K,VV> MutableMap<K,VV> |
LongObjectHashMap.aggregateBy(Function<? super V,? extends K> groupBy,
Function0<? extends VV> zeroValueFactory,
Function2<? super VV,? super V,? extends VV> nonMutatingAggregator) |
|
<K,VV> MutableMap<K,VV> |
ShortObjectHashMap.aggregateBy(Function<? super V,? extends K> groupBy,
Function0<? extends VV> zeroValueFactory,
Function2<? super VV,? super V,? extends VV> nonMutatingAggregator) |
|
<K,VV> MutableMap<K,VV> |
SynchronizedByteObjectMap.aggregateBy(Function<? super V,? extends K> groupBy,
Function0<? extends VV> zeroValueFactory,
Function2<? super VV,? super V,? extends VV> nonMutatingAggregator) |
|
<K,VV> MutableMap<K,VV> |
SynchronizedCharObjectMap.aggregateBy(Function<? super V,? extends K> groupBy,
Function0<? extends VV> zeroValueFactory,
Function2<? super VV,? super V,? extends VV> nonMutatingAggregator) |
|
<K,VV> MutableMap<K,VV> |
SynchronizedDoubleObjectMap.aggregateBy(Function<? super V,? extends K> groupBy,
Function0<? extends VV> zeroValueFactory,
Function2<? super VV,? super V,? extends VV> nonMutatingAggregator) |
|
<K,VV> MutableMap<K,VV> |
SynchronizedFloatObjectMap.aggregateBy(Function<? super V,? extends K> groupBy,
Function0<? extends VV> zeroValueFactory,
Function2<? super VV,? super V,? extends VV> nonMutatingAggregator) |
|
<K,VV> MutableMap<K,VV> |
SynchronizedIntObjectMap.aggregateBy(Function<? super V,? extends K> groupBy,
Function0<? extends VV> zeroValueFactory,
Function2<? super VV,? super V,? extends VV> nonMutatingAggregator) |
|
<K,VV> MutableMap<K,VV> |
SynchronizedLongObjectMap.aggregateBy(Function<? super V,? extends K> groupBy,
Function0<? extends VV> zeroValueFactory,
Function2<? super VV,? super V,? extends VV> nonMutatingAggregator) |
|
<K,VV> MutableMap<K,VV> |
SynchronizedShortObjectMap.aggregateBy(Function<? super V,? extends K> groupBy,
Function0<? extends VV> zeroValueFactory,
Function2<? super VV,? super V,? extends VV> nonMutatingAggregator) |
|
<K,VV> MutableMap<K,VV> |
UnmodifiableByteObjectMap.aggregateBy(Function<? super V,? extends K> groupBy,
Function0<? extends VV> zeroValueFactory,
Function2<? super VV,? super V,? extends VV> nonMutatingAggregator) |
|
<K,VV> MutableMap<K,VV> |
UnmodifiableCharObjectMap.aggregateBy(Function<? super V,? extends K> groupBy,
Function0<? extends VV> zeroValueFactory,
Function2<? super VV,? super V,? extends VV> nonMutatingAggregator) |
|
<K,VV> MutableMap<K,VV> |
UnmodifiableDoubleObjectMap.aggregateBy(Function<? super V,? extends K> groupBy,
Function0<? extends VV> zeroValueFactory,
Function2<? super VV,? super V,? extends VV> nonMutatingAggregator) |
|
<K,VV> MutableMap<K,VV> |
UnmodifiableFloatObjectMap.aggregateBy(Function<? super V,? extends K> groupBy,
Function0<? extends VV> zeroValueFactory,
Function2<? super VV,? super V,? extends VV> nonMutatingAggregator) |
|
<K,VV> MutableMap<K,VV> |
UnmodifiableIntObjectMap.aggregateBy(Function<? super V,? extends K> groupBy,
Function0<? extends VV> zeroValueFactory,
Function2<? super VV,? super V,? extends VV> nonMutatingAggregator) |
|
<K,VV> MutableMap<K,VV> |
UnmodifiableLongObjectMap.aggregateBy(Function<? super V,? extends K> groupBy,
Function0<? extends VV> zeroValueFactory,
Function2<? super VV,? super V,? extends VV> nonMutatingAggregator) |
|
<K,VV> MutableMap<K,VV> |
UnmodifiableShortObjectMap.aggregateBy(Function<? super V,? extends K> groupBy,
Function0<? extends VV> zeroValueFactory,
Function2<? super VV,? super V,? extends VV> nonMutatingAggregator) |
|
<K,VV> MutableMap<K,VV> |
ByteObjectHashMap.aggregateInPlaceBy(Function<? super V,? extends K> groupBy,
Function0<? extends VV> zeroValueFactory,
Procedure2<? super VV,? super V> mutatingAggregator) |
|
<K,VV> MutableMap<K,VV> |
CharObjectHashMap.aggregateInPlaceBy(Function<? super V,? extends K> groupBy,
Function0<? extends VV> zeroValueFactory,
Procedure2<? super VV,? super V> mutatingAggregator) |
|
<K,VV> MutableMap<K,VV> |
DoubleObjectHashMap.aggregateInPlaceBy(Function<? super V,? extends K> groupBy,
Function0<? extends VV> zeroValueFactory,
Procedure2<? super VV,? super V> mutatingAggregator) |
|
<K,VV> MutableMap<K,VV> |
FloatObjectHashMap.aggregateInPlaceBy(Function<? super V,? extends K> groupBy,
Function0<? extends VV> zeroValueFactory,
Procedure2<? super VV,? super V> mutatingAggregator) |
|
<K,VV> MutableMap<K,VV> |
IntObjectHashMap.aggregateInPlaceBy(Function<? super V,? extends K> groupBy,
Function0<? extends VV> zeroValueFactory,
Procedure2<? super VV,? super V> mutatingAggregator) |
|
<K,VV> MutableMap<K,VV> |
LongObjectHashMap.aggregateInPlaceBy(Function<? super V,? extends K> groupBy,
Function0<? extends VV> zeroValueFactory,
Procedure2<? super VV,? super V> mutatingAggregator) |
|
<K,VV> MutableMap<K,VV> |
ShortObjectHashMap.aggregateInPlaceBy(Function<? super V,? extends K> groupBy,
Function0<? extends VV> zeroValueFactory,
Procedure2<? super VV,? super V> mutatingAggregator) |
|
<K,VV> MutableMap<K,VV> |
SynchronizedByteObjectMap.aggregateInPlaceBy(Function<? super V,? extends K> groupBy,
Function0<? extends VV> zeroValueFactory,
Procedure2<? super VV,? super V> mutatingAggregator) |
|
<K,VV> MutableMap<K,VV> |
SynchronizedCharObjectMap.aggregateInPlaceBy(Function<? super V,? extends K> groupBy,
Function0<? extends VV> zeroValueFactory,
Procedure2<? super VV,? super V> mutatingAggregator) |
|
<K,VV> MutableMap<K,VV> |
SynchronizedDoubleObjectMap.aggregateInPlaceBy(Function<? super V,? extends K> groupBy,
Function0<? extends VV> zeroValueFactory,
Procedure2<? super VV,? super V> mutatingAggregator) |
|
<K,VV> MutableMap<K,VV> |
SynchronizedFloatObjectMap.aggregateInPlaceBy(Function<? super V,? extends K> groupBy,
Function0<? extends VV> zeroValueFactory,
Procedure2<? super VV,? super V> mutatingAggregator) |
|
<K,VV> MutableMap<K,VV> |
SynchronizedIntObjectMap.aggregateInPlaceBy(Function<? super V,? extends K> groupBy,
Function0<? extends VV> zeroValueFactory,
Procedure2<? super VV,? super V> mutatingAggregator) |
|
<K,VV> MutableMap<K,VV> |
SynchronizedLongObjectMap.aggregateInPlaceBy(Function<? super V,? extends K> groupBy,
Function0<? extends VV> zeroValueFactory,
Procedure2<? super VV,? super V> mutatingAggregator) |
|
<K,VV> MutableMap<K,VV> |
SynchronizedShortObjectMap.aggregateInPlaceBy(Function<? super V,? extends K> groupBy,
Function0<? extends VV> zeroValueFactory,
Procedure2<? super VV,? super V> mutatingAggregator) |
|
<K,VV> MutableMap<K,VV> |
UnmodifiableByteObjectMap.aggregateInPlaceBy(Function<? super V,? extends K> groupBy,
Function0<? extends VV> zeroValueFactory,
Procedure2<? super VV,? super V> mutatingAggregator) |
|
<K,VV> MutableMap<K,VV> |
UnmodifiableCharObjectMap.aggregateInPlaceBy(Function<? super V,? extends K> groupBy,
Function0<? extends VV> zeroValueFactory,
Procedure2<? super VV,? super V> mutatingAggregator) |
|
<K,VV> MutableMap<K,VV> |
UnmodifiableDoubleObjectMap.aggregateInPlaceBy(Function<? super V,? extends K> groupBy,
Function0<? extends VV> zeroValueFactory,
Procedure2<? super VV,? super V> mutatingAggregator) |
|
<K,VV> MutableMap<K,VV> |
UnmodifiableFloatObjectMap.aggregateInPlaceBy(Function<? super V,? extends K> groupBy,
Function0<? extends VV> zeroValueFactory,
Procedure2<? super VV,? super V> mutatingAggregator) |
|
<K,VV> MutableMap<K,VV> |
UnmodifiableIntObjectMap.aggregateInPlaceBy(Function<? super V,? extends K> groupBy,
Function0<? extends VV> zeroValueFactory,
Procedure2<? super VV,? super V> mutatingAggregator) |
|
<K,VV> MutableMap<K,VV> |
UnmodifiableLongObjectMap.aggregateInPlaceBy(Function<? super V,? extends K> groupBy,
Function0<? extends VV> zeroValueFactory,
Procedure2<? super VV,? super V> mutatingAggregator) |
|
<K,VV> MutableMap<K,VV> |
UnmodifiableShortObjectMap.aggregateInPlaceBy(Function<? super V,? extends K> groupBy,
Function0<? extends VV> zeroValueFactory,
Procedure2<? super VV,? super V> mutatingAggregator) |
|
<VV> MutableMap<VV,V> |
ByteObjectHashMap.groupByUniqueKey(Function<? super V,? extends VV> function) |
|
<VV> MutableMap<VV,V> |
CharObjectHashMap.groupByUniqueKey(Function<? super V,? extends VV> function) |
|
<VV> MutableMap<VV,V> |
DoubleObjectHashMap.groupByUniqueKey(Function<? super V,? extends VV> function) |
|
<VV> MutableMap<VV,V> |
FloatObjectHashMap.groupByUniqueKey(Function<? super V,? extends VV> function) |
|
<VV> MutableMap<VV,V> |
IntObjectHashMap.groupByUniqueKey(Function<? super V,? extends VV> function) |
|
<VV> MutableMap<VV,V> |
LongObjectHashMap.groupByUniqueKey(Function<? super V,? extends VV> function) |
|
<VV> MutableMap<VV,V> |
ShortObjectHashMap.groupByUniqueKey(Function<? super V,? extends VV> function) |
|
<VV> MutableMap<VV,V> |
SynchronizedByteObjectMap.groupByUniqueKey(Function<? super V,? extends VV> function) |
|
<VV> MutableMap<VV,V> |
SynchronizedCharObjectMap.groupByUniqueKey(Function<? super V,? extends VV> function) |
|
<VV> MutableMap<VV,V> |
SynchronizedDoubleObjectMap.groupByUniqueKey(Function<? super V,? extends VV> function) |
|
<VV> MutableMap<VV,V> |
SynchronizedFloatObjectMap.groupByUniqueKey(Function<? super V,? extends VV> function) |
|
<VV> MutableMap<VV,V> |
SynchronizedIntObjectMap.groupByUniqueKey(Function<? super V,? extends VV> function) |
|
<VV> MutableMap<VV,V> |
SynchronizedLongObjectMap.groupByUniqueKey(Function<? super V,? extends VV> function) |
|
<VV> MutableMap<VV,V> |
SynchronizedShortObjectMap.groupByUniqueKey(Function<? super V,? extends VV> function) |
|
<V1> MutableMap<V1,V> |
UnmodifiableByteObjectMap.groupByUniqueKey(Function<? super V,? extends V1> function) |
|
<V1> MutableMap<V1,V> |
UnmodifiableCharObjectMap.groupByUniqueKey(Function<? super V,? extends V1> function) |
|
<V1> MutableMap<V1,V> |
UnmodifiableDoubleObjectMap.groupByUniqueKey(Function<? super V,? extends V1> function) |
|
<V1> MutableMap<V1,V> |
UnmodifiableFloatObjectMap.groupByUniqueKey(Function<? super V,? extends V1> function) |
|
<V1> MutableMap<V1,V> |
UnmodifiableIntObjectMap.groupByUniqueKey(Function<? super V,? extends V1> function) |
|
<V1> MutableMap<V1,V> |
UnmodifiableLongObjectMap.groupByUniqueKey(Function<? super V,? extends V1> function) |
|
<V1> MutableMap<V1,V> |
UnmodifiableShortObjectMap.groupByUniqueKey(Function<? super V,? extends V1> function) |
|
<NK,NV> MutableMap<NK,NV> |
ByteObjectHashMap.toMap(Function<? super V,? extends NK> keyFunction,
Function<? super V,? extends NV> valueFunction) |
|
<NK,NV> MutableMap<NK,NV> |
CharObjectHashMap.toMap(Function<? super V,? extends NK> keyFunction,
Function<? super V,? extends NV> valueFunction) |
|
<NK,NV> MutableMap<NK,NV> |
DoubleObjectHashMap.toMap(Function<? super V,? extends NK> keyFunction,
Function<? super V,? extends NV> valueFunction) |
|
<NK,NV> MutableMap<NK,NV> |
FloatObjectHashMap.toMap(Function<? super V,? extends NK> keyFunction,
Function<? super V,? extends NV> valueFunction) |
|
<NK,NV> MutableMap<NK,NV> |
IntObjectHashMap.toMap(Function<? super V,? extends NK> keyFunction,
Function<? super V,? extends NV> valueFunction) |
|
<NK,NV> MutableMap<NK,NV> |
LongObjectHashMap.toMap(Function<? super V,? extends NK> keyFunction,
Function<? super V,? extends NV> valueFunction) |
|
<NK,NV> MutableMap<NK,NV> |
ShortObjectHashMap.toMap(Function<? super V,? extends NK> keyFunction,
Function<? super V,? extends NV> valueFunction) |
|
<NK,NV> MutableMap<NK,NV> |
SynchronizedByteObjectMap.toMap(Function<? super V,? extends NK> keyFunction,
Function<? super V,? extends NV> valueFunction) |
|
<NK,NV> MutableMap<NK,NV> |
SynchronizedCharObjectMap.toMap(Function<? super V,? extends NK> keyFunction,
Function<? super V,? extends NV> valueFunction) |
|
<NK,NV> MutableMap<NK,NV> |
SynchronizedDoubleObjectMap.toMap(Function<? super V,? extends NK> keyFunction,
Function<? super V,? extends NV> valueFunction) |
|
<NK,NV> MutableMap<NK,NV> |
SynchronizedFloatObjectMap.toMap(Function<? super V,? extends NK> keyFunction,
Function<? super V,? extends NV> valueFunction) |
|
<NK,NV> MutableMap<NK,NV> |
SynchronizedIntObjectMap.toMap(Function<? super V,? extends NK> keyFunction,
Function<? super V,? extends NV> valueFunction) |
|
<NK,NV> MutableMap<NK,NV> |
SynchronizedLongObjectMap.toMap(Function<? super V,? extends NK> keyFunction,
Function<? super V,? extends NV> valueFunction) |
|
<NK,NV> MutableMap<NK,NV> |
SynchronizedShortObjectMap.toMap(Function<? super V,? extends NK> keyFunction,
Function<? super V,? extends NV> valueFunction) |
|
<NK,NV> MutableMap<NK,NV> |
UnmodifiableByteObjectMap.toMap(Function<? super V,? extends NK> keyFunction,
Function<? super V,? extends NV> valueFunction) |
|
<NK,NV> MutableMap<NK,NV> |
UnmodifiableCharObjectMap.toMap(Function<? super V,? extends NK> keyFunction,
Function<? super V,? extends NV> valueFunction) |
|
<NK,NV> MutableMap<NK,NV> |
UnmodifiableDoubleObjectMap.toMap(Function<? super V,? extends NK> keyFunction,
Function<? super V,? extends NV> valueFunction) |
|
<NK,NV> MutableMap<NK,NV> |
UnmodifiableFloatObjectMap.toMap(Function<? super V,? extends NK> keyFunction,
Function<? super V,? extends NV> valueFunction) |
|
<NK,NV> MutableMap<NK,NV> |
UnmodifiableIntObjectMap.toMap(Function<? super V,? extends NK> keyFunction,
Function<? super V,? extends NV> valueFunction) |
|
<NK,NV> MutableMap<NK,NV> |
UnmodifiableLongObjectMap.toMap(Function<? super V,? extends NK> keyFunction,
Function<? super V,? extends NV> valueFunction) |
|
<NK,NV> MutableMap<NK,NV> |
UnmodifiableShortObjectMap.toMap(Function<? super V,? extends NK> keyFunction,
Function<? super V,? extends NV> valueFunction) |
Modifier and Type | Method | Description |
---|---|---|
<VV,R extends MutableMap<VV,V>> |
UnmodifiableTreeMap.groupByUniqueKey(Function<? super V,? extends VV> function,
R target) |
Modifier and Type | Method | Description |
---|---|---|
<K2,V2> MutableMap<K2,V2> |
UnmodifiableTreeMap.aggregateBy(Function<? super V,? extends K2> groupBy,
Function0<? extends V2> zeroValueFactory,
Function2<? super V2,? super V,? extends V2> nonMutatingAggregator) |
|
<K2,V2> MutableMap<K2,V2> |
UnmodifiableTreeMap.aggregateInPlaceBy(Function<? super V,? extends K2> groupBy,
Function0<? extends V2> zeroValueFactory,
Procedure2<? super V2,? super V> mutatingAggregator) |
|
<K2,V2> MutableMap<K2,V2> |
SynchronizedSortedMap.collect(Function2<? super K,? super V,Pair<K2,V2>> function) |
|
<K2,V2> MutableMap<K2,V2> |
UnmodifiableTreeMap.collect(Function2<? super K,? super V,Pair<K2,V2>> function) |
|
<VV> MutableMap<VV,V> |
AbstractMutableSortedMap.groupByUniqueKey(Function<? super V,? extends VV> function) |
|
<VV> MutableMap<VV,V> |
SynchronizedSortedMap.groupByUniqueKey(Function<? super V,? extends VV> function) |
|
<VV> MutableMap<VV,V> |
UnmodifiableTreeMap.groupByUniqueKey(Function<? super V,? extends VV> function) |
|
<NK,NV> MutableMap<NK,NV> |
UnmodifiableTreeMap.toMap(Function<? super V,? extends NK> keyFunction,
Function<? super V,? extends NV> valueFunction) |
Modifier and Type | Class | Description |
---|---|---|
class |
UnifiedMapWithHashingStrategy<K,V> |
UnifiedMapWithHashingStrategy stores key/value pairs in a single array, where alternate slots are keys and values.
|
Modifier and Type | Method | Description |
---|---|---|
<E> MutableMap<K,V> |
UnifiedMapWithHashingStrategy.collectKeysAndValues(java.lang.Iterable<E> iterable,
Function<? super E,? extends K> keyFunction,
Function<? super E,? extends V> valueFunction) |
|
<R> MutableMap<K,R> |
UnifiedMapWithHashingStrategy.collectValues(Function2<? super K,? super V,? extends R> function) |
|
MutableMap<K,V> |
UnifiedMapWithHashingStrategy.newEmpty() |
|
MutableMap<K,V> |
UnifiedMapWithHashingStrategy.newEmpty(int capacity) |
|
<K,V> MutableMap<K,V> |
MutableHashingStrategyMapFactoryImpl.of(HashingStrategy<? super K> hashingStrategy) |
|
<K,V> MutableMap<K,V> |
MutableHashingStrategyMapFactoryImpl.of(HashingStrategy<? super K> hashingStrategy,
K key,
V value) |
|
<K,V> MutableMap<K,V> |
MutableHashingStrategyMapFactoryImpl.of(HashingStrategy<? super K> hashingStrategy,
K key1,
V value1,
K key2,
V value2) |
|
<K,V> MutableMap<K,V> |
MutableHashingStrategyMapFactoryImpl.of(HashingStrategy<? super K> hashingStrategy,
K key1,
V value1,
K key2,
V value2,
K key3,
V value3) |
|
<K,V> MutableMap<K,V> |
MutableHashingStrategyMapFactoryImpl.of(HashingStrategy<? super K> hashingStrategy,
K key1,
V value1,
K key2,
V value2,
K key3,
V value3,
K key4,
V value4) |
|
<K,V> MutableMap<K,V> |
MutableHashingStrategyMapFactoryImpl.with(HashingStrategy<? super K> hashingStrategy) |
|
<K,V> MutableMap<K,V> |
MutableHashingStrategyMapFactoryImpl.with(HashingStrategy<? super K> hashingStrategy,
K key,
V value) |
|
<K,V> MutableMap<K,V> |
MutableHashingStrategyMapFactoryImpl.with(HashingStrategy<? super K> hashingStrategy,
K key1,
V value1,
K key2,
V value2) |
|
<K,V> MutableMap<K,V> |
MutableHashingStrategyMapFactoryImpl.with(HashingStrategy<? super K> hashingStrategy,
K key1,
V value1,
K key2,
V value2,
K key3,
V value3) |
|
<K,V> MutableMap<K,V> |
MutableHashingStrategyMapFactoryImpl.with(HashingStrategy<? super K> hashingStrategy,
K key1,
V value1,
K key2,
V value2,
K key3,
V value3,
K key4,
V value4) |
Modifier and Type | Method | Description |
---|---|---|
MutableMap<K,RichIterable<V>> |
AbstractImmutableMultimap.toMap() |
|
<R extends java.util.Collection<V>> |
AbstractImmutableMultimap.toMap(Function0<R> collectionFactory) |
|
MutableMap<K,RichIterable<V>> |
AbstractMutableMultimap.toMap() |
|
<R extends java.util.Collection<V>> |
AbstractMutableMultimap.toMap(Function0<R> collectionFactory) |
|
MutableMap<K,RichIterable<V>> |
AbstractSynchronizedMultimap.toMap() |
|
<R extends java.util.Collection<V>> |
AbstractSynchronizedMultimap.toMap(Function0<R> collectionFactory) |
Constructor | Description |
---|---|
ImmutableBagMultimapImpl(MutableMap<K,ImmutableBag<V>> map) |
Constructor | Description |
---|---|
ImmutableSortedBagMultimapImpl(MutableMap<K,ImmutableSortedBag<V>> map,
java.util.Comparator<? super V> comparator) |
Constructor | Description |
---|---|
ImmutableListMultimapImpl(MutableMap<K,ImmutableList<V>> map) |
Constructor | Description |
---|---|
ImmutableSetMultimapImpl(MutableMap<K,ImmutableSet<V>> map) |
Constructor | Description |
---|---|
ImmutableSortedSetMultimapImpl(MutableMap<K,ImmutableSortedSet<V>> map,
java.util.Comparator<? super V> comparator) |
Modifier and Type | Method | Description |
---|---|---|
static <T,K,V,R extends MutableMap<K,V>> |
ParallelIterate.aggregateBy(java.lang.Iterable<T> iterable,
Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Function2<? super V,? super T,? extends V> nonMutatingAggregator,
R mutableMap) |
|
static <T,K,V,R extends MutableMap<K,V>> |
ParallelIterate.aggregateBy(java.lang.Iterable<T> iterable,
Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Function2<? super V,? super T,? extends V> nonMutatingAggregator,
R mutableMap,
int batchSize) |
|
static <T,K,V,R extends MutableMap<K,V>> |
ParallelIterate.aggregateBy(java.lang.Iterable<T> iterable,
Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Function2<? super V,? super T,? extends V> nonMutatingAggregator,
R mutableMap,
int batchSize,
java.util.concurrent.Executor executor) |
|
static <T,K,V,R extends MutableMap<K,V>> |
ParallelIterate.aggregateInPlaceBy(java.lang.Iterable<T> iterable,
Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Procedure2<? super V,? super T> mutatingAggregator,
R mutableMap) |
|
static <T,K,V,R extends MutableMap<K,V>> |
ParallelIterate.aggregateInPlaceBy(java.lang.Iterable<T> iterable,
Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Procedure2<? super V,? super T> mutatingAggregator,
R mutableMap,
int batchSize) |
|
static <T,K,V,R extends MutableMap<K,V>> |
ParallelIterate.aggregateInPlaceBy(java.lang.Iterable<T> iterable,
Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Procedure2<? super V,? super T> mutatingAggregator,
R mutableMap,
int batchSize,
java.util.concurrent.Executor executor) |
Modifier and Type | Method | Description |
---|---|---|
static <T,K,V> MutableMap<K,V> |
ParallelIterate.aggregateBy(java.lang.Iterable<T> iterable,
Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Function2<? super V,? super T,? extends V> nonMutatingAggregator) |
|
static <T,K,V> MutableMap<K,V> |
ParallelIterate.aggregateBy(java.lang.Iterable<T> iterable,
Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Function2<? super V,? super T,? extends V> nonMutatingAggregator,
int batchSize) |
|
static <T,K,V> MutableMap<K,V> |
ParallelIterate.aggregateBy(java.lang.Iterable<T> iterable,
Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Function2<? super V,? super T,? extends V> nonMutatingAggregator,
int batchSize,
java.util.concurrent.Executor executor) |
|
static <T,K,V> MutableMap<K,V> |
ParallelIterate.aggregateInPlaceBy(java.lang.Iterable<T> iterable,
Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Procedure2<? super V,? super T> mutatingAggregator) |
|
static <T,K,V> MutableMap<K,V> |
ParallelIterate.aggregateInPlaceBy(java.lang.Iterable<T> iterable,
Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Procedure2<? super V,? super T> mutatingAggregator,
int batchSize) |
|
static <T,K,V> MutableMap<K,V> |
ParallelIterate.aggregateInPlaceBy(java.lang.Iterable<T> iterable,
Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Procedure2<? super V,? super T> mutatingAggregator,
int batchSize,
java.util.concurrent.Executor executor) |
|
static <V,T> MutableMap<V,java.math.BigDecimal> |
ParallelIterate.sumByBigDecimal(java.lang.Iterable<T> iterable,
Function<T,V> groupBy,
Function<? super T,java.math.BigDecimal> function) |
|
static <V,T> MutableMap<V,java.math.BigInteger> |
ParallelIterate.sumByBigInteger(java.lang.Iterable<T> iterable,
Function<T,V> groupBy,
Function<? super T,java.math.BigInteger> function) |
Modifier and Type | Method | Description |
---|---|---|
<V> MutableMap<V,T> |
AbstractUnifiedSet.groupByUniqueKey(Function<? super T,? extends V> function) |
Modifier and Type | Method | Description |
---|---|---|
<V> MutableMap<V,T> |
MultiReaderUnifiedSet.groupByUniqueKey(Function<? super T,? extends V> function) |
Modifier and Type | Method | Description |
---|---|---|
<V,R extends MutableMap<V,T>> |
ArrayStack.groupByUniqueKey(Function<? super T,? extends V> function,
R target) |
|
<V,R extends MutableMap<V,T>> |
SynchronizedStack.groupByUniqueKey(Function<? super T,? extends V> function,
R target) |
|
<V,R extends MutableMap<V,T>> |
UnmodifiableStack.groupByUniqueKey(Function<? super T,? extends V> function,
R target) |
Modifier and Type | Method | Description |
---|---|---|
<K,V> MutableMap<K,V> |
ArrayStack.aggregateBy(Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Function2<? super V,? super T,? extends V> nonMutatingAggregator) |
|
<K,V> MutableMap<K,V> |
SynchronizedStack.aggregateBy(Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Function2<? super V,? super T,? extends V> nonMutatingAggregator) |
|
<K,V> MutableMap<K,V> |
UnmodifiableStack.aggregateBy(Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Function2<? super V,? super T,? extends V> nonMutatingAggregator) |
|
<K,V> MutableMap<K,V> |
ArrayStack.aggregateInPlaceBy(Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Procedure2<? super V,? super T> mutatingAggregator) |
|
<K,V> MutableMap<K,V> |
SynchronizedStack.aggregateInPlaceBy(Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Procedure2<? super V,? super T> mutatingAggregator) |
|
<K,V> MutableMap<K,V> |
UnmodifiableStack.aggregateInPlaceBy(Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Procedure2<? super V,? super T> mutatingAggregator) |
|
<V> MutableMap<V,T> |
ArrayStack.groupByUniqueKey(Function<? super T,? extends V> function) |
|
<V> MutableMap<V,T> |
SynchronizedStack.groupByUniqueKey(Function<? super T,? extends V> function) |
|
<V> MutableMap<V,T> |
UnmodifiableStack.groupByUniqueKey(Function<? super T,? extends V> function) |
|
<NK,NV> MutableMap<NK,NV> |
ArrayStack.toMap(Function<? super T,? extends NK> keyFunction,
Function<? super T,? extends NV> valueFunction) |
|
<NK,NV> MutableMap<NK,NV> |
SynchronizedStack.toMap(Function<? super T,? extends NK> keyFunction,
Function<? super T,? extends NV> valueFunction) |
|
<NK,NV> MutableMap<NK,NV> |
UnmodifiableStack.toMap(Function<? super T,? extends NK> keyFunction,
Function<? super T,? extends NV> valueFunction) |
Modifier and Type | Method | Description |
---|---|---|
static <T,V,R extends MutableMap<V,T>> |
ArrayIterate.groupByUniqueKey(T[] array,
Function<? super T,? extends V> function,
R target) |
|
static <T,V,R extends MutableMap<V,T>> |
ArrayListIterate.groupByUniqueKey(java.util.ArrayList<T> list,
Function<? super T,? extends V> function,
R target) |
|
static <V,T,R extends MutableMap<V,T>> |
Iterate.groupByUniqueKey(java.lang.Iterable<T> iterable,
Function<? super T,? extends V> function,
R target) |
|
static <K,T,R extends MutableMap<K,T>> |
ListIterate.groupByUniqueKey(java.util.List<T> list,
Function<? super T,? extends K> function,
R target) |
Modifier and Type | Method | Description |
---|---|---|
static <T,K,V> MutableMap<K,V> |
ArrayListIterate.aggregateBy(java.util.ArrayList<T> list,
Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Function2<? super V,? super T,? extends V> nonMutatingAggregator) |
|
static <T,K,V> MutableMap<K,V> |
Iterate.aggregateBy(java.lang.Iterable<T> iterable,
Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Function2<? super V,? super T,? extends V> nonMutatingAggregator) |
|
static <T,K,V> MutableMap<K,V> |
ArrayListIterate.aggregateInPlaceBy(java.util.ArrayList<T> list,
Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Procedure2<? super V,? super T> mutatingAggregator) |
|
static <T,K,V> MutableMap<K,V> |
Iterate.aggregateInPlaceBy(java.lang.Iterable<T> iterable,
Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Procedure2<? super V,? super T> mutatingAggregator) |
|
static <K,V,K2,V2> |
MapIterate.collect(java.util.Map<K,V> map,
Function2<? super K,? super V,Pair<K2,V2>> function) |
For each value of the map, the function is evaluated with the key and value as the parameter.
|
static <K1,V1,K2,V2> |
MapIterate.collect(java.util.Map<K1,V1> map,
Function<? super K1,? extends K2> keyFunction,
Function<? super V1,? extends V2> valueFunction) |
For each key-value entry of a map, applies a function to each, and adds the transformed entry to a new Map.
|
static <K1,V1,K2,V2> |
MapIterate.collect(java.util.Map<K1,V1> map,
Function<? super K1,? extends K2> keyFunction,
Function<? super V1,? extends V2> valueFunction,
java.util.Map<K2,V2> target) |
For each key-value entry of a map, applies a function to each, and adds the transformed entry to the target Map.
|
static <K1,V1,K2,V2> |
MapIterate.collectIf(java.util.Map<K1,V1> map,
Function2<? super K1,? super V1,Pair<K2,V2>> function,
Predicate2<? super K1,? super V1> predicate) |
For each value of the map, the Predicate2 is evaluated with the key and value as the parameter,
and if true, then
function is applied. |
static <K1,V1,K2,V2> |
MapIterate.collectIf(java.util.Map<K1,V1> map,
Function2<? super K1,? super V1,Pair<K2,V2>> function,
Predicate2<? super K1,? super V1> predicate,
java.util.Map<K2,V2> target) |
For each value of the map, the Predicate2 is evaluated with the key and value as the parameter,
and if true, then
function is applied. |
static <K,V,V2> MutableMap<K,V2> |
MapIterate.collectValues(java.util.Map<K,V> map,
Function2<? super K,? super V,? extends V2> function) |
For each key and value of the map, the function is evaluated with the key and value as the parameter.
|
static <K,V> MutableMap<V,K> |
MapIterate.flipUniqueValues(MapIterable<K,V> mapIterable) |
|
static <T,V> MutableMap<V,T> |
ArrayIterate.groupByUniqueKey(T[] array,
Function<? super T,? extends V> function) |
|
static <T,V> MutableMap<V,T> |
ArrayListIterate.groupByUniqueKey(java.util.ArrayList<T> list,
Function<? super T,? extends V> function) |
|
static <V,T> MutableMap<V,T> |
Iterate.groupByUniqueKey(java.lang.Iterable<T> iterable,
Function<? super T,? extends V> function) |
|
static <K,T> MutableMap<K,T> |
ListIterate.groupByUniqueKey(java.util.List<T> list,
Function<? super T,? extends K> function) |
|
static <K,V> MutableMap<K,V> |
MapIterate.rejectMapOnEntry(java.util.Map<K,V> map,
Predicate2<? super K,? super V> predicate) |
For each value of the map, predicate is evaluated with the element as the parameter.
|
static <K,V> MutableMap<V,K> |
MapIterate.reverseMapping(java.util.Map<K,V> map) |
Return a new map swapping key-value for value-key.
|
static <K,V> MutableMap<K,V> |
MapIterate.selectMapOnEntry(java.util.Map<K,V> map,
Predicate2<? super K,? super V> predicate) |
For each entry of the source map, the Predicate2 is evaluated.
|
static <K,V> MutableMap<K,V> |
MapIterate.selectMapOnKey(java.util.Map<K,V> map,
Predicate<? super K> predicate) |
For each key of the source map, the Predicate is evaluated.
|
static <K,V> MutableMap<K,V> |
MapIterate.selectMapOnValue(java.util.Map<K,V> map,
Predicate<? super V> predicate) |
For each value of the source map, the Predicate is evaluated.
|
static <V,T> MutableMap<V,java.math.BigDecimal> |
ArrayIterate.sumByBigDecimal(T[] array,
Function<T,V> groupBy,
Function<? super T,java.math.BigDecimal> function) |
|
static <V,T> MutableMap<V,java.math.BigDecimal> |
Iterate.sumByBigDecimal(java.lang.Iterable<T> iterable,
Function<T,V> groupBy,
Function<? super T,java.math.BigDecimal> function) |
Groups and sums the values of the iterable using the two specified functions.
|
static <V,T> MutableMap<V,java.math.BigDecimal> |
ListIterate.sumByBigDecimal(java.util.List<T> list,
Function<T,V> groupBy,
Function<? super T,java.math.BigDecimal> function) |
|
static <V,T> MutableMap<V,java.math.BigInteger> |
ArrayIterate.sumByBigInteger(T[] array,
Function<T,V> groupBy,
Function<? super T,java.math.BigInteger> function) |
|
static <V,T> MutableMap<V,java.math.BigInteger> |
Iterate.sumByBigInteger(java.lang.Iterable<T> iterable,
Function<T,V> groupBy,
Function<? super T,java.math.BigInteger> function) |
Groups and sums the values of the iterable using the two specified functions.
|
static <V,T> MutableMap<V,java.math.BigInteger> |
ListIterate.sumByBigInteger(java.util.List<T> list,
Function<T,V> groupBy,
Function<? super T,java.math.BigInteger> function) |
|
static MutableMap<java.lang.String,java.lang.String> |
StringIterate.tokensToMap(java.lang.String string) |
Converts a string of tokens to a
MutableMap using a | to separate pairs, and a : to separate key and
value. |
static MutableMap<java.lang.String,java.lang.String> |
StringIterate.tokensToMap(java.lang.String string,
java.lang.String pairSeparator,
java.lang.String keyValueSeparator) |
Converts a string of tokens to a
MutableMap using the specified separators. |
static <K,V> MutableMap<K,V> |
StringIterate.tokensToMap(java.lang.String string,
java.lang.String separator,
java.lang.String keyValueSeparator,
Function<java.lang.String,K> keyFunction,
Function<java.lang.String,V> valueFunction) |
Converts a string of tokens to a
MutableMap using the specified 'key' and 'value'
Functions. |
static <T,K,V> MutableMap<K,V> |
ArrayIterate.toMap(T[] objectArray,
Function<? super T,? extends K> keyFunction,
Function<? super T,? extends V> valueFunction) |
Iterate over the specified array applying the specified Functions to each element to calculate a key
and value, and return the results as a Map.
|
static <K,V> MutableMap<K,V> |
ArrayIterate.toMap(V[] objectArray,
Function<? super V,? extends K> keyFunction) |
Iterate over the specified array applying the specified Function to each element to calculate a key
and return the results as a HashMap.
|
static <T,K> MutableMap<K,T> |
Iterate.toMap(java.lang.Iterable<T> iterable,
Function<? super T,? extends K> keyFunction) |
Iterate over the specified collection applying the specified Function to each element to calculate
a key and return the results as a Map.
|
static <T,K,V> MutableMap<K,V> |
Iterate.toMap(java.lang.Iterable<T> iterable,
Function<? super T,? extends K> keyFunction,
Function<? super T,? extends V> valueFunction) |
Iterate over the specified collection applying the specified Functions to each element to calculate
a key and value, and return the results as a Map.
|
Modifier and Type | Method | Description |
---|---|---|
static <T,K,R extends MutableMap<K,T>> |
InternalArrayIterate.groupByUniqueKey(T[] array,
int size,
Function<? super T,? extends K> function,
R target) |
|
static <K,T,R extends MutableMap<K,T>> |
IterableIterate.groupByUniqueKey(java.lang.Iterable<T> iterable,
Function<? super T,? extends K> function,
R target) |
|
static <K,T,R extends MutableMap<K,T>> |
IteratorIterate.groupByUniqueKey(java.util.Iterator<T> iterator,
Function<? super T,? extends K> function,
R target) |
|
static <K,T,R extends MutableMap<K,T>> |
RandomAccessListIterate.groupByUniqueKey(java.util.List<T> list,
Function<? super T,? extends K> function,
R target) |
Modifier and Type | Method | Description |
---|---|---|
static <T,K,V> MutableMap<K,V> |
IterableIterate.aggregateBy(java.lang.Iterable<T> iterable,
Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Function2<? super V,? super T,? extends V> nonMutatingAggregator) |
|
static <T,K,V> MutableMap<K,V> |
IteratorIterate.aggregateBy(java.util.Iterator<T> iterator,
Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Function2<? super V,? super T,? extends V> nonMutatingAggregator) |
|
static <T,K,V> MutableMap<K,V> |
IteratorIterate.aggregateBy(java.util.Iterator<T> iterator,
Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Procedure2<? super V,? super T> mutatingAggregator) |
|
static <T,K,V> MutableMap<K,V> |
RandomAccessListIterate.aggregateBy(java.util.List<T> list,
Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Function2<? super V,? super T,? extends V> nonMutatingAggregator) |
|
static <T,K,V> MutableMap<K,V> |
IterableIterate.aggregateInPlaceBy(java.lang.Iterable<T> iterable,
Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Procedure2<? super V,? super T> mutatingAggregator) |
|
static <T,K,V> MutableMap<K,V> |
RandomAccessListIterate.aggregateInPlaceBy(java.util.List<T> list,
Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Procedure2<? super V,? super T> mutatingAggregator) |
|
static <K,T> MutableMap<K,T> |
IterableIterate.groupByUniqueKey(java.lang.Iterable<T> iterable,
Function<? super T,? extends K> function) |
|
static <K,T> MutableMap<K,T> |
RandomAccessListIterate.groupByUniqueKey(java.util.List<T> list,
Function<? super T,? extends K> function) |
|
static <V,T> MutableMap<V,java.math.BigDecimal> |
IterableIterate.sumByBigDecimal(java.lang.Iterable<T> iterable,
Function<T,V> groupBy,
Function<? super T,java.math.BigDecimal> function) |
|
static <V,T> MutableMap<V,java.math.BigDecimal> |
IteratorIterate.sumByBigDecimal(java.util.Iterator<T> iterator,
Function<T,V> groupBy,
Function<? super T,java.math.BigDecimal> function) |
|
static <V,T> MutableMap<V,java.math.BigDecimal> |
RandomAccessListIterate.sumByBigDecimal(java.util.List<T> list,
Function<T,V> groupBy,
Function<? super T,java.math.BigDecimal> function) |
|
static <V,T> MutableMap<V,java.math.BigInteger> |
IterableIterate.sumByBigInteger(java.lang.Iterable<T> iterable,
Function<T,V> groupBy,
Function<? super T,java.math.BigInteger> function) |
|
static <V,T> MutableMap<V,java.math.BigInteger> |
IteratorIterate.sumByBigInteger(java.util.Iterator<T> iterator,
Function<T,V> groupBy,
Function<? super T,java.math.BigInteger> function) |
|
static <V,T> MutableMap<V,java.math.BigInteger> |
RandomAccessListIterate.sumByBigInteger(java.util.List<T> list,
Function<T,V> groupBy,
Function<? super T,java.math.BigInteger> function) |
Copyright © 2004–2017. All rights reserved.