Uses of Interface
org.eclipse.collections.api.multimap.Multimap
-
Uses of Multimap in org.eclipse.collections.api
Methods in org.eclipse.collections.api that return Multimap Modifier and Type Method Description <V> Multimap<V,T>
ParallelIterable. groupBy(Function<? super T,? extends V> function)
<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. groupByEach(Function<? super T,? extends Iterable<V>> function)
<V> Multimap<V,T>
RichIterable. groupByEach(Function<? super T,? extends Iterable<V>> function)
Similar toRichIterable.groupBy(Function)
, except the result of evaluating function will return a collection of keys for each value. -
Uses of Multimap in org.eclipse.collections.api.map
-
Uses of Multimap in org.eclipse.collections.api.multimap
Subinterfaces of Multimap in org.eclipse.collections.api.multimap Modifier and Type Interface Description interface
ImmutableMultimap<K,V>
interface
MutableMultimap<K,V>
Methods in org.eclipse.collections.api.multimap that return Multimap Modifier and Type Method 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 Iterable<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 Iterable<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. -
Uses of Multimap in org.eclipse.collections.api.multimap.bag
Subinterfaces of Multimap in org.eclipse.collections.api.multimap.bag Modifier and Type Interface 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>
-
Uses of Multimap in org.eclipse.collections.api.multimap.list
Subinterfaces of Multimap in org.eclipse.collections.api.multimap.list Modifier and Type Interface Description interface
ImmutableListMultimap<K,V>
interface
ListMultimap<K,V>
interface
MutableListMultimap<K,V>
-
Uses of Multimap in org.eclipse.collections.api.multimap.ordered
Subinterfaces of Multimap in org.eclipse.collections.api.multimap.ordered Modifier and Type Interface Description interface
OrderedIterableMultimap<K,V>
interface
ReversibleIterableMultimap<K,V>
interface
SortedIterableMultimap<K,V>
-
Uses of Multimap in org.eclipse.collections.api.multimap.set
Subinterfaces of Multimap in org.eclipse.collections.api.multimap.set Modifier and Type Interface 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>
-
Uses of Multimap in org.eclipse.collections.api.multimap.sortedbag
Subinterfaces of Multimap in org.eclipse.collections.api.multimap.sortedbag Modifier and Type Interface Description interface
ImmutableSortedBagMultimap<K,V>
interface
MutableSortedBagMultimap<K,V>
interface
SortedBagMultimap<K,V>
-
Uses of Multimap in org.eclipse.collections.api.multimap.sortedset
Subinterfaces of Multimap in org.eclipse.collections.api.multimap.sortedset Modifier and Type Interface Description interface
ImmutableSortedSetMultimap<K,V>
interface
MutableSortedSetMultimap<K,V>
interface
SortedSetMultimap<K,V>
-
Uses of Multimap in org.eclipse.collections.impl
Methods in org.eclipse.collections.impl that return Multimap Modifier and Type Method Description <V> Multimap<V,T>
UnmodifiableRichIterable. groupBy(Function<? super T,? extends V> function)
<V> Multimap<V,T>
UnmodifiableRichIterable. groupByEach(Function<? super T,? extends Iterable<V>> function)
-
Uses of Multimap in org.eclipse.collections.impl.block.factory
Methods in org.eclipse.collections.impl.block.factory with parameters of type Multimap Modifier and Type Method Description static <K, V> Function<K,RichIterable<V>>
MultimapFunctions. get(Multimap<K,V> multimap)
-
Uses of Multimap in org.eclipse.collections.impl.collection
Methods in org.eclipse.collections.impl.collection that return Multimap Modifier and Type Method Description <V> Multimap<V,T>
AbstractSynchronizedRichIterable. groupBy(Function<? super T,? extends V> function)
<V> Multimap<V,T>
AbstractSynchronizedRichIterable. groupByEach(Function<? super T,? extends Iterable<V>> function)
-
Uses of Multimap in org.eclipse.collections.impl.factory
Methods in org.eclipse.collections.impl.factory with parameters of type Multimap Modifier and Type Method Description <K, V> MutableBagMultimap<K,V>
Multimaps.MutableMultimaps.MutableBagMultimapFactory. withAll(Multimap<? extends K,? extends V> multimap)
<K, V> MutableListMultimap<K,V>
Multimaps.MutableMultimaps.MutableListMultimapFactory. withAll(Multimap<? extends K,? extends V> multimap)
<K, V> MutableSetMultimap<K,V>
Multimaps.MutableMultimaps.MutableSetMultimapFactory. withAll(Multimap<? extends K,? extends V> multimap)
<K, V> MutableSortedBagMultimap<K,V>
Multimaps.MutableMultimaps.MutableSortedBagMultimapFactory. withAll(Multimap<? extends K,? extends V> multimap)
<K, V> MutableSortedSetMultimap<K,V>
Multimaps.MutableMultimaps.MutableSortedSetMultimapFactory. withAll(Multimap<? extends K,? extends V> multimap)
-
Uses of Multimap in org.eclipse.collections.impl.lazy
Methods in org.eclipse.collections.impl.lazy that return Multimap Modifier and Type Method Description <V> Multimap<V,T>
AbstractLazyIterable. groupBy(Function<? super T,? extends V> function)
<V> Multimap<V,T>
AbstractLazyIterable. groupByEach(Function<? super T,? extends Iterable<V>> function)
-
Uses of Multimap in org.eclipse.collections.impl.lazy.parallel
Methods in org.eclipse.collections.impl.lazy.parallel that return Multimap Modifier and Type Method Description <V> Multimap<V,T>
MultiReaderParallelIterable. groupBy(Function<? super T,? extends V> function)
<V> Multimap<V,T>
SynchronizedParallelIterable. groupBy(Function<? super T,? extends V> function)
<V> Multimap<V,T>
MultiReaderParallelIterable. groupByEach(Function<? super T,? extends Iterable<V>> function)
<V> Multimap<V,T>
SynchronizedParallelIterable. groupByEach(Function<? super T,? extends Iterable<V>> function)
-
Uses of Multimap in org.eclipse.collections.impl.multimap
Classes in org.eclipse.collections.impl.multimap that implement Multimap Modifier and Type Class Description class
AbstractImmutableMultimap<K,V,C extends ImmutableCollection<V>>
class
AbstractMultimap<K,V,C extends RichIterable<V>>
class
AbstractMutableMultimap<K,V,C extends MutableCollection<V>>
class
AbstractSynchronizedMultimap<K,V>
class
AbstractSynchronizedPutMultimap<K,V,C extends MutableCollection<V>>
Methods in org.eclipse.collections.impl.multimap with parameters of type Multimap Modifier and Type Method Description <KK extends K, VV extends V>
booleanAbstractMutableMultimap. putAll(Multimap<KK,VV> multimap)
<KK extends K, VV extends V>
booleanAbstractSynchronizedMultimap. putAll(Multimap<KK,VV> multimap)
-
Uses of Multimap in org.eclipse.collections.impl.multimap.bag
Classes in org.eclipse.collections.impl.multimap.bag that implement Multimap Modifier and Type Class Description class
AbstractMutableBagMultimap<K,V>
class
HashBagMultimap<K,V>
class
ImmutableBagMultimapImpl<K,V>
The default ImmutableBagMultimap implementation.class
MultiReaderHashBagMultimap<K,V>
class
SynchronizedBagMultimap<K,V>
class
SynchronizedPutHashBagMultimap<K,V>
A Multimap that is optimized for parallel writes, but is not protected for concurrent reads.class
TreeBagMultimap<K,V>
Deprecated.in 5.0.Methods in org.eclipse.collections.impl.multimap.bag with parameters of type Multimap Modifier and Type Method Description static <K, V> HashBagMultimap<K,V>
HashBagMultimap. newMultimap(Multimap<? extends K,? extends V> multimap)
static <K, V> MultiReaderHashBagMultimap<K,V>
MultiReaderHashBagMultimap. newMultimap(Multimap<? extends K,? extends V> multimap)
static <K, V> SynchronizedPutHashBagMultimap<K,V>
SynchronizedPutHashBagMultimap. newMultimap(Multimap<? extends K,? extends V> multimap)
static <K, V> TreeBagMultimap<K,V>
TreeBagMultimap. newMultimap(Multimap<? extends K,? extends V> multimap)
Deprecated.Constructors in org.eclipse.collections.impl.multimap.bag with parameters of type Multimap Constructor Description HashBagMultimap(Multimap<? extends K,? extends V> multimap)
MultiReaderHashBagMultimap(Multimap<? extends K,? extends V> multimap)
SynchronizedPutHashBagMultimap(Multimap<? extends K,? extends V> multimap)
TreeBagMultimap(Multimap<? extends K,? extends V> multimap)
Deprecated. -
Uses of Multimap in org.eclipse.collections.impl.multimap.bag.sorted
Classes in org.eclipse.collections.impl.multimap.bag.sorted that implement Multimap Modifier and Type Class Description class
TreeBagMultimap<K,V>
Deprecated.in 7.0.Methods in org.eclipse.collections.impl.multimap.bag.sorted with parameters of type Multimap Modifier and Type Method Description static <K, V> TreeBagMultimap<K,V>
TreeBagMultimap. newMultimap(Multimap<? extends K,? extends V> multimap)
Deprecated.Constructors in org.eclipse.collections.impl.multimap.bag.sorted with parameters of type Multimap Constructor Description TreeBagMultimap(Multimap<? extends K,? extends V> multimap)
Deprecated. -
Uses of Multimap in org.eclipse.collections.impl.multimap.bag.sorted.immutable
Classes in org.eclipse.collections.impl.multimap.bag.sorted.immutable that implement Multimap Modifier and Type Class Description class
ImmutableSortedBagMultimapImpl<K,V>
-
Uses of Multimap in org.eclipse.collections.impl.multimap.bag.sorted.mutable
Classes in org.eclipse.collections.impl.multimap.bag.sorted.mutable that implement Multimap Modifier and Type Class Description class
SynchronizedSortedBagMultimap<K,V>
class
TreeBagMultimap<K,V>
Methods in org.eclipse.collections.impl.multimap.bag.sorted.mutable with parameters of type Multimap Modifier and Type Method Description static <K, V> TreeBagMultimap<K,V>
TreeBagMultimap. newMultimap(Multimap<? extends K,? extends V> multimap)
Constructors in org.eclipse.collections.impl.multimap.bag.sorted.mutable with parameters of type Multimap Constructor Description TreeBagMultimap(Multimap<? extends K,? extends V> multimap)
-
Uses of Multimap in org.eclipse.collections.impl.multimap.bag.strategy
Classes in org.eclipse.collections.impl.multimap.bag.strategy that implement Multimap Modifier and Type Class Description class
HashBagMultimapWithHashingStrategy<K,V>
Methods in org.eclipse.collections.impl.multimap.bag.strategy with parameters of type Multimap Modifier and Type Method Description static <K, V> HashBagMultimapWithHashingStrategy<K,V>
HashBagMultimapWithHashingStrategy. newMultimap(HashingStrategy<? super K> multimapHashingStrategy, Multimap<? extends K,? extends V> multimap)
Constructors in org.eclipse.collections.impl.multimap.bag.strategy with parameters of type Multimap Constructor Description HashBagMultimapWithHashingStrategy(HashingStrategy<? super K> hashingStrategy, Multimap<? extends K,? extends V> multimap)
-
Uses of Multimap in org.eclipse.collections.impl.multimap.list
Classes in org.eclipse.collections.impl.multimap.list that implement Multimap Modifier and Type Class Description class
AbstractMutableListMultimap<K,V>
class
FastListMultimap<K,V>
class
ImmutableListMultimapImpl<K,V>
The default ImmutableListMultimap implementation.class
MultiReaderFastListMultimap<K,V>
class
SynchronizedListMultimap<K,V>
class
SynchronizedPutFastListMultimap<K,V>
A Multimap that is optimized for parallel writes, but is not protected for concurrent reads.Methods in org.eclipse.collections.impl.multimap.list with parameters of type Multimap Modifier and Type Method Description static <K, V> FastListMultimap<K,V>
FastListMultimap. newMultimap(Multimap<? extends K,? extends V> multimap)
static <K, V> MultiReaderFastListMultimap<K,V>
MultiReaderFastListMultimap. newMultimap(Multimap<? extends K,? extends V> multimap)
static <K, V> SynchronizedPutFastListMultimap<K,V>
SynchronizedPutFastListMultimap. newMultimap(Multimap<? extends K,? extends V> multimap)
Constructors in org.eclipse.collections.impl.multimap.list with parameters of type Multimap Constructor Description FastListMultimap(Multimap<? extends K,? extends V> multimap)
MultiReaderFastListMultimap(Multimap<? extends K,? extends V> multimap)
SynchronizedPutFastListMultimap(Multimap<? extends K,? extends V> multimap)
-
Uses of Multimap in org.eclipse.collections.impl.multimap.set
Classes in org.eclipse.collections.impl.multimap.set that implement Multimap Modifier and Type Class Description class
AbstractMutableSetMultimap<K,V>
class
ImmutableSetMultimapImpl<K,V>
The default ImmutableBagMultimap implementation.class
MultiReaderUnifiedSetMultimap<K,V>
class
SynchronizedPutUnifiedSetMultimap<K,V>
A Multimap that is optimized for parallel writes, but is not protected for concurrent reads.class
SynchronizedSetMultimap<K,V>
class
UnifiedSetMultimap<K,V>
Methods in org.eclipse.collections.impl.multimap.set with parameters of type Multimap Modifier and Type Method Description static <K, V> MultiReaderUnifiedSetMultimap<K,V>
MultiReaderUnifiedSetMultimap. newMultimap(Multimap<? extends K,? extends V> multimap)
static <K, V> SynchronizedPutUnifiedSetMultimap<K,V>
SynchronizedPutUnifiedSetMultimap. newMultimap(Multimap<? extends K,? extends V> multimap)
static <K, V> UnifiedSetMultimap<K,V>
UnifiedSetMultimap. newMultimap(Multimap<? extends K,? extends V> multimap)
Constructors in org.eclipse.collections.impl.multimap.set with parameters of type Multimap Constructor Description MultiReaderUnifiedSetMultimap(Multimap<? extends K,? extends V> multimap)
SynchronizedPutUnifiedSetMultimap(Multimap<? extends K,? extends V> multimap)
UnifiedSetMultimap(Multimap<? extends K,? extends V> multimap)
-
Uses of Multimap in org.eclipse.collections.impl.multimap.set.sorted
Classes in org.eclipse.collections.impl.multimap.set.sorted that implement Multimap Modifier and Type Class Description class
ImmutableSortedSetMultimapImpl<K,V>
The default ImmutableSortedSetMultimap implementation.class
SynchronizedPutTreeSortedSetMultimap<K,V>
A Multimap that is optimized for parallel writes, but is not protected for concurrent reads.class
SynchronizedSortedSetMultimap<K,V>
class
TreeSortedSetMultimap<K,V>
Methods in org.eclipse.collections.impl.multimap.set.sorted with parameters of type Multimap Modifier and Type Method Description static <K, V> SynchronizedPutTreeSortedSetMultimap<K,V>
SynchronizedPutTreeSortedSetMultimap. newMultimap(Multimap<? extends K,? extends V> multimap)
static <K, V> TreeSortedSetMultimap<K,V>
TreeSortedSetMultimap. newMultimap(Multimap<? extends K,? extends V> multimap)
Constructors in org.eclipse.collections.impl.multimap.set.sorted with parameters of type Multimap Constructor Description SynchronizedPutTreeSortedSetMultimap(Multimap<? extends K,? extends V> multimap)
TreeSortedSetMultimap(Multimap<? extends K,? extends V> multimap)
-
Uses of Multimap in org.eclipse.collections.impl.multimap.set.strategy
Classes in org.eclipse.collections.impl.multimap.set.strategy that implement Multimap Modifier and Type Class Description class
UnifiedSetWithHashingStrategyMultimap<K,V>
Methods in org.eclipse.collections.impl.multimap.set.strategy with parameters of type Multimap Modifier and Type Method Description static <K, V> UnifiedSetWithHashingStrategyMultimap<K,V>
UnifiedSetWithHashingStrategyMultimap. newMultimap(HashingStrategy<? super V> hashingStrategy, Multimap<? extends K,? extends V> multimap)
Constructors in org.eclipse.collections.impl.multimap.set.strategy with parameters of type Multimap Constructor Description UnifiedSetWithHashingStrategyMultimap(HashingStrategy<? super V> hashingStrategy, Multimap<? extends K,? extends V> multimap)
-
Uses of Multimap in org.eclipse.collections.impl.test
Methods in org.eclipse.collections.impl.test with parameters of type Multimap Modifier and Type Method Description static void
Verify. assertContainsAllEntries(String multimapName, Multimap<?,?> actualMultimap, Object... expectedKeyValues)
Assert the givenMultimap
contains all of the given keys and values.static void
Verify. assertContainsAllEntries(Multimap<?,?> actualMultimap, Object... keyValues)
Assert the givenMultimap
contains all of the given keys and values.static <K, V> void
Verify. assertContainsEntry(String multimapName, K expectedKey, V expectedValue, Multimap<K,V> actualMultimap)
Assert that the givenMultimap
contains an entry with the given key and value.static <K, V> void
Verify. assertContainsEntry(K expectedKey, V expectedValue, Multimap<K,V> actualMultimap)
Assert that the givenMultimap
contains an entry with the given key and value.static void
Verify. assertEmpty(String multimapName, Multimap<?,?> actualMultimap)
Assert that the givenMultimap
is empty.static void
Verify. assertEmpty(Multimap<?,?> actualMultimap)
Assert that the givenMultimap
is empty.static void
Verify. assertNotEmpty(String multimapName, Multimap<?,?> actualMultimap)
Assert that the givenMultimap
is not empty.static void
Verify. assertNotEmpty(Multimap<?,?> actualMultimap)
Assert that the givenMultimap
is not empty.static void
Verify. assertSize(int expectedSize, Multimap<?,?> actualMultimap)
Assert the size of the givenMultimap
.static void
Verify. assertSize(String multimapName, int expectedSize, Multimap<?,?> actualMultimap)
Assert the size of the givenMultimap
.