Uses of Interface
org.eclipse.collections.api.multimap.Multimap
Package
Description
This package contains interfaces for Eclipse Collections API.
This package contains interfaces for map API which enhance the performance and functionality of
Map
This package contains interfaces for
Multimap
.This package contains interfaces for
BagMultimap
.This package contains interfaces for
ListMultimap
.This package contains interfaces for
SetMultimap
.This package contains interfaces for
SortedBagMultimap
.This package contains interfaces for
SortedSetMultimap
.This package contains implementations for Eclipse Collections API.
This package contains factory implementations for
Function
, Predicate
, SerializableComparator
and Procedure
.This package contains static utilities for creating mutable and immutable collection factories.
This package contains implementations of the
LazyIterable
interface.This package contains implementations of the
Multimap
interface.This package contains implementations of the
BagMultimap
interface.This package contains implementations of the
ListMultimap
interface.This package contains implementations of the
SetMultimap
interface.This package contains implementations of the
SortedSetMultimap
interface.This package contains implementations of the
SetMultimap
interface which use a set with user-defined HashingStrategy
as their underlying store for the multiple values of a given key.This package contains
SerializeTestHelper
and Verify
classes.-
Uses of Multimap in org.eclipse.collections.api
Modifier and TypeMethodDescriptionFor 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.ParallelIterable.groupByEach
(Function<? super T, ? extends Iterable<V>> function) 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
Modifier and TypeInterfaceDescriptioninterface
ImmutableMultimap<K,
V> interface
MutableMultimap<K,
V> Modifier and TypeMethodDescription<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.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.flip()
Given a Multimap from Domain->
Range return a multimap from Range->
Domain.Multimap.newEmpty()
Creates a new instance of the same implementation type, using the default capacity and growth parameters.Multimap.rejectKeysMultiValues
(Predicate2<? super K, ? super RichIterable<V>> predicate) Returns all elements of the source multimap that don't satisfy the predicate.Multimap.rejectKeysValues
(Predicate2<? super K, ? super V> predicate) Returns all elements of the source multimap that don't satisfy the predicate.Multimap.selectKeysMultiValues
(Predicate2<? super K, ? super RichIterable<V>> predicate) Returns all elements of the source multimap that satisfies the predicate.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
Modifier and TypeInterfaceDescriptioninterface
BagMultimap<K,
V> interface
interface
ImmutableBagMultimap<K,
V> interface
interface
MutableBagMultimap<K,
V> interface
UnsortedBagMultimap<K,
V> -
Uses of Multimap in org.eclipse.collections.api.multimap.list
Modifier and TypeInterfaceDescriptioninterface
interface
ListMultimap<K,
V> interface
MutableListMultimap<K,
V> -
Uses of Multimap in org.eclipse.collections.api.multimap.ordered
Modifier and TypeInterfaceDescriptioninterface
interface
interface
-
Uses of Multimap in org.eclipse.collections.api.multimap.set
Modifier and TypeInterfaceDescriptioninterface
interface
ImmutableSetMultimap<K,
V> interface
interface
MutableSetMultimap<K,
V> interface
SetMultimap<K,
V> interface
UnsortedSetMultimap<K,
V> -
Uses of Multimap in org.eclipse.collections.api.multimap.sortedbag
-
Uses of Multimap in org.eclipse.collections.api.multimap.sortedset
-
Uses of Multimap in org.eclipse.collections.impl
-
Uses of Multimap in org.eclipse.collections.impl.block.factory
-
Uses of Multimap in org.eclipse.collections.impl.collection
-
Uses of Multimap in org.eclipse.collections.impl.factory
Modifier and TypeMethodDescription<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
-
Uses of Multimap in org.eclipse.collections.impl.lazy.parallel
Modifier and TypeMethodDescriptionMultiReaderParallelIterable.groupByEach
(Function<? super T, ? extends Iterable<V>> function) SynchronizedParallelIterable.groupByEach
(Function<? super T, ? extends Iterable<V>> function) -
Uses of Multimap in org.eclipse.collections.impl.multimap
Modifier and TypeClassDescriptionclass
AbstractImmutableMultimap<K,
V, C extends ImmutableCollection<V>> class
AbstractMultimap<K,
V, C extends RichIterable<V>> class
AbstractMutableMultimap<K,
V, C extends MutableCollection<V>> class
class
AbstractSynchronizedPutMultimap<K,
V, C extends MutableCollection<V>> -
Uses of Multimap in org.eclipse.collections.impl.multimap.bag
Modifier and TypeClassDescriptionclass
final class
HashBagMultimap<K,
V> final class
The default ImmutableBagMultimap implementation.final class
class
final class
A Multimap that is optimized for parallel writes, but is not protected for concurrent reads.final class
TreeBagMultimap<K,
V> Deprecated.in 5.0.Modifier and TypeMethodDescriptionstatic <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.ModifierConstructorDescriptionHashBagMultimap
(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
Modifier and TypeMethodDescriptionstatic <K,
V> TreeBagMultimap<K, V> TreeBagMultimap.newMultimap
(Multimap<? extends K, ? extends V> multimap) Deprecated.ModifierConstructorDescriptionTreeBagMultimap
(Multimap<? extends K, ? extends V> multimap) Deprecated. -
Uses of Multimap in org.eclipse.collections.impl.multimap.bag.sorted.immutable
-
Uses of Multimap in org.eclipse.collections.impl.multimap.bag.sorted.mutable
Modifier and TypeMethodDescriptionstatic <K,
V> TreeBagMultimap<K, V> TreeBagMultimap.newMultimap
(Multimap<? extends K, ? extends V> multimap) -
Uses of Multimap in org.eclipse.collections.impl.multimap.bag.strategy
Modifier and TypeMethodDescriptionstatic <K,
V> HashBagMultimapWithHashingStrategy<K, V> HashBagMultimapWithHashingStrategy.newMultimap
(HashingStrategy<? super K> multimapHashingStrategy, Multimap<? extends K, ? extends V> multimap) ModifierConstructorDescriptionHashBagMultimapWithHashingStrategy
(HashingStrategy<? super K> hashingStrategy, Multimap<? extends K, ? extends V> multimap) -
Uses of Multimap in org.eclipse.collections.impl.multimap.list
Modifier and TypeClassDescriptionclass
final class
FastListMultimap<K,
V> final class
The default ImmutableListMultimap implementation.final class
class
final class
A Multimap that is optimized for parallel writes, but is not protected for concurrent reads.Modifier and TypeMethodDescriptionstatic <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) ModifierConstructorDescriptionFastListMultimap
(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
Modifier and TypeClassDescriptionclass
final class
The default ImmutableBagMultimap implementation.final class
final class
A Multimap that is optimized for parallel writes, but is not protected for concurrent reads.class
final class
UnifiedSetMultimap<K,
V> Modifier and TypeMethodDescriptionstatic <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) ModifierConstructorDescriptionMultiReaderUnifiedSetMultimap
(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
Modifier and TypeClassDescriptionfinal class
The default ImmutableSortedSetMultimap implementation.final class
A Multimap that is optimized for parallel writes, but is not protected for concurrent reads.class
final class
Modifier and TypeMethodDescriptionstatic <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) ModifierConstructorDescriptionSynchronizedPutTreeSortedSetMultimap
(Multimap<? extends K, ? extends V> multimap) TreeSortedSetMultimap
(Multimap<? extends K, ? extends V> multimap) -
Uses of Multimap in org.eclipse.collections.impl.multimap.set.strategy
Modifier and TypeMethodDescriptionstatic <K,
V> UnifiedSetWithHashingStrategyMultimap<K, V> UnifiedSetWithHashingStrategyMultimap.newMultimap
(HashingStrategy<? super V> hashingStrategy, Multimap<? extends K, ? extends V> multimap) ModifierConstructorDescriptionUnifiedSetWithHashingStrategyMultimap
(HashingStrategy<? super V> hashingStrategy, Multimap<? extends K, ? extends V> multimap) -
Uses of Multimap in org.eclipse.collections.impl.test
Modifier and TypeMethodDescriptionstatic void
Verify.assertContainsAllEntries
(String multimapName, Multimap<?, ?> actualMultimap, Object... expectedKeyValues) Assert the givenMultimap
contains all the given keys and values.static void
Verify.assertContainsAllEntries
(Multimap<?, ?> actualMultimap, Object... keyValues) Assert the givenMultimap
contains all 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
.