| Package | Description |
|---|---|
| org.eclipse.collections.api |
This package contains interfaces for Eclipse Collections API.
|
| org.eclipse.collections.api.collection | |
| org.eclipse.collections.api.map |
This package contains interfaces for map API which enhance the performance and functionality of
Map |
| 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.multimap.sortedbag |
This package contains interfaces for
SortedBagMultimap. |
| org.eclipse.collections.api.multimap.sortedset |
This package contains interfaces for
SortedSetMultimap. |
| Modifier and Type | Method and Description |
|---|---|
<V,R extends MutableMultimap<V,T>> |
RichIterable.groupBy(Function<? super T,? extends V> function,
R target)
Same as
RichIterable.groupBy(Function), except that the results are gathered into the specified target
multimap. |
default <K,V,R extends MutableMultimap<K,V>> |
RichIterable.groupByAndCollect(Function<? super T,? extends K> groupByFunction,
Function<? super T,? extends V> collectFunction,
R target)
Applies a groupBy function over the iterable, followed by a collect function.
|
<V,R extends MutableMultimap<V,T>> |
RichIterable.groupByEach(Function<? super T,? extends Iterable<V>> function,
R target)
Same as
RichIterable.groupByEach(Function), except that the results are gathered into the specified target
multimap. |
| Modifier and Type | Method and Description |
|---|---|
<V> MutableMultimap<V,T> |
MutableCollection.groupBy(Function<? super T,? extends V> function)
For each element of the iterable, the function is evaluated and the results of these evaluations are collected
into a new multimap, where the transformed value is the key and the original values are added to the same (or similar)
species of collection as the source iterable.
|
<V> MutableMultimap<V,T> |
MutableCollection.groupByEach(Function<? super T,? extends Iterable<V>> function) |
| Modifier and Type | Method and Description |
|---|---|
MutableMultimap<V,K> |
MutableMapIterable.flip() |
<V1> MutableMultimap<V1,V> |
MutableMapIterable.groupBy(Function<? super V,? extends V1> function) |
<V1> MutableMultimap<V1,V> |
MutableMapIterable.groupByEach(Function<? super V,? extends Iterable<V1>> function) |
| Modifier and Type | Method and Description |
|---|---|
<K2,V2,R extends MutableMultimap<K2,V2>> |
Multimap.collectKeyMultiValues(Function<? super K,? extends K2> keyFunction,
Function<? super V,? extends V2> valueFunction,
R target)
Same as the collectKeyMultiValues method but uses the specified target multimap for the results.
|
<K2,V2,R extends MutableMultimap<K2,V2>> |
Multimap.collectKeysValues(Function2<? super K,? super V,Pair<K2,V2>> function,
R target)
Same as the collect method but uses the specified target multimap for the results.
|
<V2,R extends MutableMultimap<K,V2>> |
Multimap.collectValues(Function<? super V,? extends V2> function,
R target)
Same as the collect method but uses the specified target multimap for the results.
|
<R extends MutableMultimap<K,V>> |
Multimap.rejectKeysMultiValues(Predicate2<? super K,? super Iterable<V>> predicate,
R target)
Same as the reject method but uses the specified target multimap for the results.
|
<R extends MutableMultimap<K,V>> |
Multimap.rejectKeysValues(Predicate2<? super K,? super V> predicate,
R target)
Same as the reject method but uses the specified target multimap for the results.
|
<R extends MutableMultimap<K,V>> |
Multimap.selectKeysMultiValues(Predicate2<? super K,? super Iterable<V>> predicate,
R target)
Same as the select method but uses the specified target multimap for the results.
|
<R extends MutableMultimap<K,V>> |
Multimap.selectKeysValues(Predicate2<? super K,? super V> predicate,
R target)
Same as the select method but uses the specified target multimap for the results.
|
| Modifier and Type | Method and Description |
|---|---|
MutableMultimap<K,V> |
MutableMultimap.asSynchronized()
Returns a synchronized wrapper backed by this multimap.
|
<K2,V2> MutableMultimap<K2,V2> |
MutableMultimap.collectKeyMultiValues(Function<? super K,? extends K2> keyFunction,
Function<? super V,? extends V2> valueFunction) |
<K2,V2> MutableMultimap<K2,V2> |
MutableMultimap.collectKeysValues(Function2<? super K,? super V,Pair<K2,V2>> function) |
<V2> MutableMultimap<K,V2> |
MutableMultimap.collectValues(Function<? super V,? extends V2> function) |
MutableMultimap<V,K> |
MutableMultimap.flip() |
MutableMultimap<K,V> |
MutableMultimap.newEmpty() |
MutableMultimap<K,V> |
MutableMultimap.rejectKeysMultiValues(Predicate2<? super K,? super Iterable<V>> predicate) |
MutableMultimap<K,V> |
MutableMultimap.rejectKeysValues(Predicate2<? super K,? super V> predicate) |
MutableMultimap<K,V> |
MutableMultimap.selectKeysMultiValues(Predicate2<? super K,? super Iterable<V>> predicate) |
MutableMultimap<K,V> |
MutableMultimap.selectKeysValues(Predicate2<? super K,? super V> predicate) |
MutableMultimap<K,V> |
Multimap.toMutable()
Returns a mutable copy of this Multimap.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
MutableBagIterableMultimap<K,V> |
interface |
MutableBagMultimap<K,V> |
| Modifier and Type | Method and Description |
|---|---|
<V2> MutableMultimap<K,V2> |
MutableBagIterableMultimap.collectValues(Function<? super V,? extends V2> function) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
MutableListMultimap<K,V> |
| Modifier and Type | Interface and Description |
|---|---|
interface |
MutableSetIterableMultimap<K,V> |
interface |
MutableSetMultimap<K,V> |
| Modifier and Type | Method and Description |
|---|---|
<V2> MutableMultimap<K,V2> |
MutableSetIterableMultimap.collectValues(Function<? super V,? extends V2> function) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
MutableSortedBagMultimap<K,V> |
| Modifier and Type | Interface and Description |
|---|---|
interface |
MutableSortedSetMultimap<K,V> |
Copyright © 2004–2020. All rights reserved.