| Package | Description |
|---|---|
| org.eclipse.collections.api |
This package contains interfaces for Eclipse Collections API.
|
| 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.ordered | |
| 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> Multimap<V,T> |
RichIterable.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> Multimap<V,T> |
ParallelIterable.groupBy(Function<? super T,? extends V> function) |
<V> Multimap<V,T> |
RichIterable.groupByEach(Function<? super T,? extends Iterable<V>> function)
Similar to
RichIterable.groupBy(Function), except the result of evaluating function will return a collection of keys
for each value. |
<V> Multimap<V,T> |
ParallelIterable.groupByEach(Function<? super T,? extends Iterable<V>> function) |
| Modifier and Type | Method and Description |
|---|---|
Multimap<V,K> |
MapIterable.flip()
Given a map from Domain
-> Range return a multimap from Range -> Domain. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ImmutableMultimap<K,V> |
interface |
MutableMultimap<K,V> |
| Modifier and Type | Method and Description |
|---|---|
<K2,V2> Multimap<K2,V2> |
Multimap.collectKeyMultiValues(Function<? super K,? extends K2> keyFunction,
Function<? super V,? extends V2> valueFunction)
Returns a new multimap with the results of applying the specified keyFunction and valueFunction on each key and corresponding values of the source multimap.
|
<K2,V2> Multimap<K2,V2> |
Multimap.collectKeysValues(Function2<? super K,? super V,Pair<K2,V2>> function)
Returns a new multimap with the results of applying the specified function on each key and value of the source
multimap.
|
<V2> Multimap<K,V2> |
Multimap.collectValues(Function<? super V,? extends V2> function)
Returns a new multimap with the results of applying the specified function on each value of the source
multimap.
|
Multimap<V,K> |
Multimap.flip()
Given a Multimap from Domain
-> Range return a multimap from Range -> Domain. |
Multimap<K,V> |
Multimap.newEmpty()
Creates a new instance of the same implementation type, using the default capacity and growth parameters.
|
Multimap<K,V> |
Multimap.rejectKeysMultiValues(Predicate2<? super K,? super RichIterable<V>> predicate)
Returns all elements of the source multimap that don't satisfy the predicate.
|
Multimap<K,V> |
Multimap.rejectKeysValues(Predicate2<? super K,? super V> predicate)
Returns all elements of the source multimap that don't satisfy the predicate.
|
Multimap<K,V> |
Multimap.selectKeysMultiValues(Predicate2<? super K,? super RichIterable<V>> predicate)
Returns all elements of the source multimap that satisfies the predicate.
|
Multimap<K,V> |
Multimap.selectKeysValues(Predicate2<? super K,? super V> predicate)
Returns all elements of the source multimap that satisfies the predicate.
|
| Modifier and Type | Method and Description |
|---|---|
<KK extends K,VV extends V> |
MutableMultimap.putAll(Multimap<KK,VV> multimap) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
BagMultimap<K,V> |
interface |
ImmutableBagIterableMultimap<K,V> |
interface |
ImmutableBagMultimap<K,V> |
interface |
MutableBagIterableMultimap<K,V> |
interface |
MutableBagMultimap<K,V> |
interface |
UnsortedBagMultimap<K,V> |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ImmutableListMultimap<K,V> |
interface |
ListMultimap<K,V> |
interface |
MutableListMultimap<K,V> |
| Modifier and Type | Interface and Description |
|---|---|
interface |
OrderedIterableMultimap<K,V> |
interface |
ReversibleIterableMultimap<K,V> |
interface |
SortedIterableMultimap<K,V> |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ImmutableSetIterableMultimap<K,V> |
interface |
ImmutableSetMultimap<K,V> |
interface |
MutableSetIterableMultimap<K,V> |
interface |
MutableSetMultimap<K,V> |
interface |
SetMultimap<K,V> |
interface |
UnsortedSetMultimap<K,V> |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ImmutableSortedBagMultimap<K,V> |
interface |
MutableSortedBagMultimap<K,V> |
interface |
SortedBagMultimap<K,V> |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ImmutableSortedSetMultimap<K,V> |
interface |
MutableSortedSetMultimap<K,V> |
interface |
SortedSetMultimap<K,V> |
Copyright © 2004–2023. All rights reserved.