| Package | Description |
|---|---|
| org.eclipse.collections.api |
This package contains interfaces for Eclipse Collections API.
|
| org.eclipse.collections.api.bimap |
This package contains interfaces for BiMap API.
|
| org.eclipse.collections.api.collection | |
| org.eclipse.collections.api.list |
This package contains interfaces for list API which enhance the performance and functionality of
List. |
| 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.multimap.bag |
This package contains interfaces for
BagMultimap. |
| org.eclipse.collections.api.multimap.list |
This package contains interfaces for
ListMultimap. |
| org.eclipse.collections.api.multimap.set |
This package contains interfaces for
SetMultimap. |
| org.eclipse.collections.api.stack |
This package contains interfaces for stack API.
|
| Modifier and Type | Method and Description |
|---|---|
default <K,V> MapIterable<K,V> |
RichIterable.aggregateInPlaceBy(Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Procedure2<? super V,? super T> mutatingAggregator)
Applies an aggregate procedure over the iterable grouping results into a Map based on the specific groupBy function.
|
<K,V> MapIterable<K,V> |
ParallelIterable.aggregateInPlaceBy(Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Procedure2<? super V,? super T> mutatingAggregator) |
<P> void |
ParallelIterable.forEachWith(Procedure2<? super T,? super P> procedure,
P parameter) |
<P> void |
InternalIterable.forEachWith(Procedure2<? super T,? super P> procedure,
P parameter)
The procedure2 is evaluated for each element in the iterable with the specified parameter provided
as the second argument.
|
| Modifier and Type | Method and Description |
|---|---|
default <KK,VV> ImmutableMap<KK,VV> |
ImmutableBiMap.aggregateInPlaceBy(Function<? super V,? extends KK> groupBy,
Function0<? extends VV> zeroValueFactory,
Procedure2<? super VV,? super V> mutatingAggregator) |
| Modifier and Type | Method and Description |
|---|---|
default <K,V> MutableMap<K,V> |
MutableCollection.aggregateInPlaceBy(Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Procedure2<? super V,? super T> mutatingAggregator) |
default <K,V> ImmutableMap<K,V> |
ImmutableCollection.aggregateInPlaceBy(Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Procedure2<? super V,? super T> mutatingAggregator) |
| Modifier and Type | Method and Description |
|---|---|
default <T2> void |
ListIterable.forEachInBoth(ListIterable<T2> other,
Procedure2<? super T,? super T2> procedure)
Iterates over this ListIterable and the other ListIterable together passing
the elements of each list as parameters to the specified procedure.
|
| Modifier and Type | Method and Description |
|---|---|
default <KK,VV> MutableMap<KK,VV> |
MutableMapIterable.aggregateInPlaceBy(Function<? super V,? extends KK> groupBy,
Function0<? extends VV> zeroValueFactory,
Procedure2<? super VV,? super V> mutatingAggregator) |
default <KK,VV> MutableMap<KK,VV> |
MutableMap.aggregateInPlaceBy(Function<? super V,? extends KK> groupBy,
Function0<? extends VV> zeroValueFactory,
Procedure2<? super VV,? super V> mutatingAggregator) |
<KK,VV> ImmutableOrderedMap<KK,VV> |
ImmutableOrderedMap.aggregateInPlaceBy(Function<? super V,? extends KK> groupBy,
Function0<? extends VV> zeroValueFactory,
Procedure2<? super VV,? super V> mutatingAggregator) |
default <KK,VV> ImmutableMapIterable<KK,VV> |
ImmutableMapIterable.aggregateInPlaceBy(Function<? super V,? extends KK> groupBy,
Function0<? extends VV> zeroValueFactory,
Procedure2<? super VV,? super V> mutatingAggregator) |
default <KK,VV> ImmutableMap<KK,VV> |
ImmutableMap.aggregateInPlaceBy(Function<? super V,? extends KK> groupBy,
Function0<? extends VV> zeroValueFactory,
Procedure2<? super VV,? super V> mutatingAggregator) |
void |
MapIterable.forEachKeyValue(Procedure2<? super K,? super V> procedure)
Calls the
procedure with each key-value pair of the map. |
| Modifier and Type | Method and Description |
|---|---|
<K,VV> MutableMap<K,VV> |
MutablePrimitiveObjectMap.aggregateInPlaceBy(Function<? super V,? extends K> groupBy,
Function0<? extends VV> zeroValueFactory,
Procedure2<? super VV,? super V> mutatingAggregator) |
default <K,VV> ImmutableMap<K,VV> |
ImmutablePrimitiveObjectMap.aggregateInPlaceBy(Function<? super V,? extends K> groupBy,
Function0<? extends VV> zeroValueFactory,
Procedure2<? super VV,? super V> mutatingAggregator) |
| Modifier and Type | Method and Description |
|---|---|
default <KK,VV> ImmutableMap<KK,VV> |
ImmutableSortedMap.aggregateInPlaceBy(Function<? super V,? extends KK> groupBy,
Function0<? extends VV> zeroValueFactory,
Procedure2<? super VV,? super V> mutatingAggregator) |
| Modifier and Type | Method and Description |
|---|---|
void |
Multimap.forEachKeyMultiValues(Procedure2<? super K,? super RichIterable<V>> procedure)
Calls the
procedure with each key-Iterable[value]. |
void |
Multimap.forEachKeyValue(Procedure2<? super K,? super V> procedure)
Calls the
procedure with each key-value pair. |
| Modifier and Type | Method and Description |
|---|---|
void |
ImmutableBagMultimap.forEachKeyImmutableBag(Procedure2<? super K,? super ImmutableBag<V>> procedure) |
void |
MutableBagMultimap.forEachKeyMutableBag(Procedure2<? super K,? super MutableBag<V>> procedure) |
| Modifier and Type | Method and Description |
|---|---|
void |
ImmutableListMultimap.forEachKeyImmutableList(Procedure2<? super K,? super ImmutableList<V>> procedure) |
void |
MutableListMultimap.forEachKeyMutableList(Procedure2<? super K,? super MutableList<V>> procedure) |
| Modifier and Type | Method and Description |
|---|---|
void |
ImmutableSetMultimap.forEachKeyImmutableSet(Procedure2<? super K,? super ImmutableSet<V>> procedure) |
void |
MutableSetMultimap.forEachKeyMutableSet(Procedure2<? super K,? super MutableSet<V>> procedure) |
| Modifier and Type | Method and Description |
|---|---|
default <K,V> MutableMap<K,V> |
MutableStack.aggregateInPlaceBy(Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Procedure2<? super V,? super T> mutatingAggregator) |
default <K,V> ImmutableMap<K,V> |
ImmutableStack.aggregateInPlaceBy(Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Procedure2<? super V,? super T> mutatingAggregator) |
Copyright © 2004–2021. All rights reserved.