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 java.lang.Iterable<V>> function)<V> Multimap<V,T>RichIterable. groupByEach(Function<? super T,? extends java.lang.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
Methods in org.eclipse.collections.api.map that return Multimap Modifier and Type Method Description Multimap<V,K>MapIterable. flip()Given a map from Domain->Range return a multimap from Range->Domain. -
Uses of Multimap in org.eclipse.collections.api.multimap
Subinterfaces of Multimap in org.eclipse.collections.api.multimap Modifier and Type Interface Description interfaceImmutableMultimap<K,V>interfaceMutableMultimap<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 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.Methods in org.eclipse.collections.api.multimap with parameters of type Multimap Modifier and Type Method Description <KK extends K,VV extends V>
booleanMutableMultimap. putAll(Multimap<KK,VV> multimap) -
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 interfaceBagMultimap<K,V>interfaceImmutableBagIterableMultimap<K,V>interfaceImmutableBagMultimap<K,V>interfaceMutableBagIterableMultimap<K,V>interfaceMutableBagMultimap<K,V>interfaceUnsortedBagMultimap<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 interfaceImmutableListMultimap<K,V>interfaceListMultimap<K,V>interfaceMutableListMultimap<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 interfaceOrderedIterableMultimap<K,V>interfaceReversibleIterableMultimap<K,V>interfaceSortedIterableMultimap<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 interfaceImmutableSetIterableMultimap<K,V>interfaceImmutableSetMultimap<K,V>interfaceMutableSetIterableMultimap<K,V>interfaceMutableSetMultimap<K,V>interfaceSetMultimap<K,V>interfaceUnsortedSetMultimap<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 interfaceImmutableSortedBagMultimap<K,V>interfaceMutableSortedBagMultimap<K,V>interfaceSortedBagMultimap<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 interfaceImmutableSortedSetMultimap<K,V>interfaceMutableSortedSetMultimap<K,V>interfaceSortedSetMultimap<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 java.lang.Iterable<V>> function) -
Uses of Multimap in org.eclipse.collections.impl.block.factory
Fields in org.eclipse.collections.impl.block.factory declared as Multimap Modifier and Type Field Description private Multimap<K,V>MultimapFunctions.MultimapGetFunction. multimapMethods 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)Constructors in org.eclipse.collections.impl.block.factory with parameters of type Multimap Constructor Description MultimapGetFunction(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 java.lang.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 java.lang.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 java.lang.Iterable<V>> function)<V> Multimap<V,T>SynchronizedParallelIterable. groupByEach(Function<? super T,? extends java.lang.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 classAbstractImmutableMultimap<K,V,C extends ImmutableCollection<V>>classAbstractMultimap<K,V,C extends RichIterable<V>>classAbstractMutableMultimap<K,V,C extends MutableCollection<V>>classAbstractSynchronizedMultimap<K,V>classAbstractSynchronizedPutMultimap<K,V,C extends MutableCollection<V>>Fields in org.eclipse.collections.impl.multimap declared as Multimap Modifier and Type Field Description private Multimap<K,V>ImmutableMultimapSerializationProxy. multimapToReadIntoMethods 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)private <KK extends K,VV extends V>
booleanAbstractMutableMultimap. putAllReadOnlyMultimap(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 classAbstractMutableBagMultimap<K,V>classHashBagMultimap<K,V>classImmutableBagMultimapImpl<K,V>The default ImmutableBagMultimap implementation.classMultiReaderHashBagMultimap<K,V>classSynchronizedBagMultimap<K,V>classSynchronizedPutHashBagMultimap<K,V>A Multimap that is optimized for parallel writes, but is not protected for concurrent reads.classTreeBagMultimap<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 classTreeBagMultimap<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 classImmutableSortedBagMultimapImpl<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 classSynchronizedSortedBagMultimap<K,V>classTreeBagMultimap<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 classHashBagMultimapWithHashingStrategy<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 classAbstractMutableListMultimap<K,V>classFastListMultimap<K,V>classImmutableListMultimapImpl<K,V>The default ImmutableListMultimap implementation.classMultiReaderFastListMultimap<K,V>classSynchronizedListMultimap<K,V>classSynchronizedPutFastListMultimap<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 classAbstractMutableSetMultimap<K,V>classImmutableSetMultimapImpl<K,V>The default ImmutableBagMultimap implementation.classMultiReaderUnifiedSetMultimap<K,V>classSynchronizedPutUnifiedSetMultimap<K,V>A Multimap that is optimized for parallel writes, but is not protected for concurrent reads.classSynchronizedSetMultimap<K,V>classUnifiedSetMultimap<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 classImmutableSortedSetMultimapImpl<K,V>The default ImmutableSortedSetMultimap implementation.classSynchronizedPutTreeSortedSetMultimap<K,V>A Multimap that is optimized for parallel writes, but is not protected for concurrent reads.classSynchronizedSortedSetMultimap<K,V>classTreeSortedSetMultimap<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 classUnifiedSetWithHashingStrategyMultimap<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 voidVerify. assertContainsAllEntries(java.lang.String multimapName, Multimap<?,?> actualMultimap, java.lang.Object... expectedKeyValues)Assert the givenMultimapcontains all the given keys and values.static voidVerify. assertContainsAllEntries(Multimap<?,?> actualMultimap, java.lang.Object... keyValues)Assert the givenMultimapcontains all the given keys and values.static <K,V>
voidVerify. assertContainsEntry(java.lang.String multimapName, K expectedKey, V expectedValue, Multimap<K,V> actualMultimap)Assert that the givenMultimapcontains an entry with the given key and value.static <K,V>
voidVerify. assertContainsEntry(K expectedKey, V expectedValue, Multimap<K,V> actualMultimap)Assert that the givenMultimapcontains an entry with the given key and value.static voidVerify. assertEmpty(java.lang.String multimapName, Multimap<?,?> actualMultimap)Assert that the givenMultimapis empty.static voidVerify. assertEmpty(Multimap<?,?> actualMultimap)Assert that the givenMultimapis empty.static voidVerify. assertNotEmpty(java.lang.String multimapName, Multimap<?,?> actualMultimap)Assert that the givenMultimapis not empty.static voidVerify. assertNotEmpty(Multimap<?,?> actualMultimap)Assert that the givenMultimapis not empty.static voidVerify. assertSize(int expectedSize, Multimap<?,?> actualMultimap)Assert the size of the givenMultimap.static voidVerify. assertSize(java.lang.String multimapName, int expectedSize, Multimap<?,?> actualMultimap)Assert the size of the givenMultimap.
-