Uses of Interface
org.eclipse.collections.api.map.MapIterable
Package | Description |
---|---|
org.eclipse.collections.api |
This package contains interfaces for Eclipse Collections API.
|
org.eclipse.collections.api.bag |
This package contains interfaces for Bag API.
|
org.eclipse.collections.api.bimap |
This package contains interfaces for BiMap API.
|
org.eclipse.collections.api.factory.map |
This package contains factory API for creating instances of type
MapIterable . |
org.eclipse.collections.api.map |
This package contains interfaces for map API which enhance the performance and functionality of
Map |
org.eclipse.collections.api.map.sorted |
This package contains mutable and immutable sorted map interfaces.
|
org.eclipse.collections.impl |
This package contains implementations for Eclipse Collections API.
|
org.eclipse.collections.impl.bimap | |
org.eclipse.collections.impl.bimap.immutable | |
org.eclipse.collections.impl.bimap.mutable |
This package contains implementations of the
MutableBiMap interface. |
org.eclipse.collections.impl.collection | |
org.eclipse.collections.impl.lazy |
This package contains implementations of the
LazyIterable interface. |
org.eclipse.collections.impl.lazy.parallel | |
org.eclipse.collections.impl.lazy.parallel.list | |
org.eclipse.collections.impl.lazy.parallel.set | |
org.eclipse.collections.impl.lazy.parallel.set.sorted | |
org.eclipse.collections.impl.map |
This package contains implementations of the
MapIterable interface. |
org.eclipse.collections.impl.map.immutable |
This package contains implementations of the
ImmutableMap interface. |
org.eclipse.collections.impl.map.mutable |
This package contains implementations of the
MutableMap interface. |
org.eclipse.collections.impl.map.ordered.mutable | |
org.eclipse.collections.impl.map.sorted.immutable |
This package contains implementations of the
MutableSortedMap interface. |
org.eclipse.collections.impl.map.sorted.mutable |
This package contains implementations of the
MutableSortedMap interface. |
org.eclipse.collections.impl.map.strategy.immutable |
This package contains immutable map implementations backed by hashtables that rely on
HashingStrategy s provided by
the developer to compute the hashCode and equals for the objects stored in the map. |
org.eclipse.collections.impl.map.strategy.mutable |
This package contains mutable map implementations backed by hashtables that rely on
HashingStrategy s provided by
the developer to compute the hashCode and equals for the objects stored in the map. |
org.eclipse.collections.impl.test |
This package contains
SerializeTestHelper and Verify classes. |
org.eclipse.collections.impl.utility |
This package contains static utilities that provide iteration pattern implementations which work with JCF collections.
|
-
Uses of MapIterable in org.eclipse.collections.api
Methods in org.eclipse.collections.api that return MapIterable Modifier and Type Method Description <K, V> MapIterable<K,V>
ParallelIterable. aggregateBy(Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator)
default <K, V> MapIterable<K,V>
RichIterable. aggregateBy(Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator)
Applies an aggregate function over the iterable grouping results into a map based on the specific groupBy function.<K, V> MapIterable<K,V>
ParallelIterable. aggregateInPlaceBy(Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V,? super T> mutatingAggregator)
default <K, V> MapIterable<K,V>
RichIterable. aggregateInPlaceBy(Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V,? super T> mutatingAggregator)
Applies an aggregate procedure over the iterable grouping results into a Map based on the specific groupBy function.<V> MapIterable<V,T>
ParallelIterable. groupByUniqueKey(Function<? super T,? extends V> function)
<V> MapIterable<V,T>
RichIterable. groupByUniqueKey(Function<? super T,? extends V> function)
For each element of the iterable, the function is evaluated and he results of these evaluations are collected into a new map, where the transformed value is the key. -
Uses of MapIterable in org.eclipse.collections.api.bag
Methods in org.eclipse.collections.api.bag that return MapIterable Modifier and Type Method Description MapIterable<T,Integer>
Bag. toMapOfItemToCount()
Converts the Bag to a Map of the Item type to its count as an Integer. -
Uses of MapIterable in org.eclipse.collections.api.bimap
Subinterfaces of MapIterable in org.eclipse.collections.api.bimap Modifier and Type Interface Description interface
BiMap<K,V>
A map that allows users to look up key-value pairs from either direction.interface
ImmutableBiMap<K,V>
ABiMap
whose contents cannot be altered after initialization.interface
MutableBiMap<K,V>
ABiMap
whose contents can be altered after initialization. -
Uses of MapIterable in org.eclipse.collections.api.factory.map
Methods in org.eclipse.collections.api.factory.map with parameters of type MapIterable Modifier and Type Method Description <K, V> MutableMap<K,V>
MutableMapFactory. ofMapIterable(MapIterable<? extends K,? extends V> mapIterable)
<K, V> MutableMap<K,V>
MutableMapFactory. withMapIterable(MapIterable<? extends K,? extends V> mapIterable)
-
Uses of MapIterable in org.eclipse.collections.api.map
Subinterfaces of MapIterable in org.eclipse.collections.api.map Modifier and Type Interface Description interface
ConcurrentMutableMap<K,V>
A ConcurrentMutableMap provides an api which combines and supports both MutableMap and ConcurrentMap.interface
FixedSizeMap<K,V>
A FixedSizeMap is a map that may be mutated, but cannot grow or shrink in size.interface
ImmutableMap<K,V>
An ImmutableMap is different than a JCF Map but in that it has no mutating methods.interface
ImmutableMapIterable<K,V>
interface
ImmutableOrderedMap<K,V>
interface
MutableMap<K,V>
A MutableMap is similar to a JCF Map but adds additional useful internal iterator methods.interface
MutableMapIterable<K,V>
interface
MutableOrderedMap<K,V>
interface
OrderedMap<K,V>
A map whose keys are ordered but not necessarily sorted, for example a linked hash map.interface
UnsortedMapIterable<K,V>
An iterable Map whose elements are unsorted.Methods in org.eclipse.collections.api.map that return MapIterable Modifier and Type Method Description default <K1, V1, V2> MapIterable<K1,V2>
MapIterable. aggregateBy(Function<? super K,? extends K1> keyFunction, Function<? super V,? extends V1> valueFunction, Function0<? extends V2> zeroValueFactory, Function2<? super V2,? super V1,? extends V2> nonMutatingAggregator)
Applies an aggregate function over the map grouping results into a map based on the specific key and value groupBy functions.<K2, V2> MapIterable<K2,V2>
MapIterable. collect(Function2<? super K,? super V,Pair<K2,V2>> function)
For each key and value of the map the function is evaluated.<R> MapIterable<K,R>
MapIterable. collectValues(Function2<? super K,? super V,? extends R> function)
For each key and value of the map the function is evaluated.MapIterable<V,K>
MapIterable. flipUniqueValues()
Return the MapIterable that is obtained by flipping the direction of this map and making the associations from value to key.MapIterable<K,V>
MapIterable. reject(Predicate2<? super K,? super V> predicate)
For each key and value of the map the predicate is evaluated, if the result of the evaluation is false, that key and value are returned in a new map.MapIterable<K,V>
MapIterable. select(Predicate2<? super K,? super V> predicate)
For each key and value of the map the predicate is evaluated, if the result of the evaluation is true, that key and value are returned in a new map.MapIterable<K,V>
MapIterable. tap(Procedure<? super V> procedure)
Executes the Procedure for each value of the map and returnsthis
. -
Uses of MapIterable in org.eclipse.collections.api.map.sorted
Subinterfaces of MapIterable in org.eclipse.collections.api.map.sorted Modifier and Type Interface Description interface
ImmutableSortedMap<K,V>
An ImmutableSortedMap is different than a JCF SortedMap in that it has no mutating methods, but it shares the read-only protocol of a SortedMap.interface
MutableSortedMap<K,V>
A MutableSortedMap is similar to a JCF Map but adds additional useful internal iterator methods.interface
SortedMapIterable<K,V>
An iterable Map whose elements are sorted. -
Uses of MapIterable in org.eclipse.collections.impl
Methods in org.eclipse.collections.impl that return MapIterable Modifier and Type Method Description <K, V> MapIterable<K,V>
UnmodifiableRichIterable. aggregateBy(Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator)
<K, V> MapIterable<K,V>
UnmodifiableRichIterable. aggregateInPlaceBy(Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V,? super T> mutatingAggregator)
<V> MapIterable<V,T>
UnmodifiableRichIterable. groupByUniqueKey(Function<? super T,? extends V> function)
-
Uses of MapIterable in org.eclipse.collections.impl.bimap
Classes in org.eclipse.collections.impl.bimap that implement MapIterable Modifier and Type Class Description class
AbstractBiMap<K,V>
-
Uses of MapIterable in org.eclipse.collections.impl.bimap.immutable
Classes in org.eclipse.collections.impl.bimap.immutable that implement MapIterable Modifier and Type Class Description class
AbstractImmutableBiMap<K,V>
-
Uses of MapIterable in org.eclipse.collections.impl.bimap.mutable
Classes in org.eclipse.collections.impl.bimap.mutable that implement MapIterable Modifier and Type Class Description class
HashBiMap<K,V>
AMutableBiMap
which uses two hash tables as its underlying data store.class
SynchronizedBiMap<K,V>
class
UnmodifiableBiMap<K,V>
-
Uses of MapIterable in org.eclipse.collections.impl.collection
Methods in org.eclipse.collections.impl.collection that return MapIterable Modifier and Type Method Description <K, V> MapIterable<K,V>
AbstractSynchronizedRichIterable. aggregateBy(Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator)
<K, V> MapIterable<K,V>
AbstractSynchronizedRichIterable. aggregateInPlaceBy(Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V,? super T> mutatingAggregator)
<V> MapIterable<V,T>
AbstractSynchronizedRichIterable. groupByUniqueKey(Function<? super T,? extends V> function)
-
Uses of MapIterable in org.eclipse.collections.impl.lazy
Methods in org.eclipse.collections.impl.lazy that return MapIterable Modifier and Type Method Description <K, V> MapIterable<K,V>
AbstractLazyIterable. aggregateInPlaceBy(Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V,? super T> mutatingAggregator)
<V> MapIterable<V,T>
AbstractLazyIterable. groupByUniqueKey(Function<? super T,? extends V> function)
-
Uses of MapIterable in org.eclipse.collections.impl.lazy.parallel
Methods in org.eclipse.collections.impl.lazy.parallel that return MapIterable Modifier and Type Method Description <K, V> MapIterable<K,V>
AbstractMultiReaderParallelIterable. aggregateBy(Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator)
<K, V> MapIterable<K,V>
AbstractParallelIterable. aggregateBy(Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator)
<K, V> MapIterable<K,V>
AbstractSynchronizedParallelIterable. aggregateBy(Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator)
<K, V> MapIterable<K,V>
NonParallelIterable. aggregateBy(Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator)
<K, V> MapIterable<K,V>
AbstractMultiReaderParallelIterable. aggregateInPlaceBy(Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V,? super T> mutatingAggregator)
<K, V> MapIterable<K,V>
AbstractParallelIterable. aggregateInPlaceBy(Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V,? super T> mutatingAggregator)
<K, V> MapIterable<K,V>
AbstractSynchronizedParallelIterable. aggregateInPlaceBy(Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V,? super T> mutatingAggregator)
<K, V> MapIterable<K,V>
NonParallelIterable. aggregateInPlaceBy(Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V,? super T> mutatingAggregator)
<V> MapIterable<V,T>
AbstractMultiReaderParallelIterable. groupByUniqueKey(Function<? super T,? extends V> function)
<V> MapIterable<V,T>
AbstractParallelIterable. groupByUniqueKey(Function<? super T,? extends V> function)
<V> MapIterable<V,T>
AbstractSynchronizedParallelIterable. groupByUniqueKey(Function<? super T,? extends V> function)
<V> MapIterable<V,T>
NonParallelIterable. groupByUniqueKey(Function<? super T,? extends V> function)
<V> MapIterable<V,T>
ParallelDistinctIterable. groupByUniqueKey(Function<? super T,? extends V> function)
-
Uses of MapIterable in org.eclipse.collections.impl.lazy.parallel.list
Methods in org.eclipse.collections.impl.lazy.parallel.list that return MapIterable Modifier and Type Method Description <V> MapIterable<V,T>
AbstractParallelListIterable. groupByUniqueKey(Function<? super T,? extends V> function)
<V> MapIterable<V,T>
ListIterableParallelIterable. groupByUniqueKey(Function<? super T,? extends V> function)
-
Uses of MapIterable in org.eclipse.collections.impl.lazy.parallel.set
Methods in org.eclipse.collections.impl.lazy.parallel.set that return MapIterable Modifier and Type Method Description <V1> MapIterable<V1,V>
ParallelCollectIterable. groupByUniqueKey(Function<? super V,? extends V1> function)
<V1> MapIterable<V1,V>
ParallelFlatCollectIterable. groupByUniqueKey(Function<? super V,? extends V1> function)
-
Uses of MapIterable in org.eclipse.collections.impl.lazy.parallel.set.sorted
Methods in org.eclipse.collections.impl.lazy.parallel.set.sorted that return MapIterable Modifier and Type Method Description <V> MapIterable<V,T>
AbstractParallelSortedSetIterable. groupByUniqueKey(Function<? super T,? extends V> function)
-
Uses of MapIterable in org.eclipse.collections.impl.map
Classes in org.eclipse.collections.impl.map that implement MapIterable Modifier and Type Class Description class
AbstractMapIterable<K,V>
class
AbstractSynchronizedMapIterable<K,V>
A synchronized view of a map. -
Uses of MapIterable in org.eclipse.collections.impl.map.immutable
Classes in org.eclipse.collections.impl.map.immutable that implement MapIterable Modifier and Type Class Description class
AbstractImmutableMap<K,V>
class
ImmutableUnifiedMap<K,V>
-
Uses of MapIterable in org.eclipse.collections.impl.map.mutable
Classes in org.eclipse.collections.impl.map.mutable that implement MapIterable Modifier and Type Class Description class
AbstractMutableMap<K,V>
class
AbstractMutableMapIterable<K,V>
class
ConcurrentHashMap<K,V>
class
ConcurrentHashMapUnsafe<K,V>
class
ConcurrentMutableHashMap<K,V>
Deprecated.since 2.0class
MapAdapter<K,V>
This class provides a MutableMap wrapper around a JDK Collections Map interface instance.class
SynchronizedMutableMap<K,V>
A synchronized view of aMutableMap
.class
UnifiedMap<K,V>
UnifiedMap stores key/value pairs in a single array, where alternate slots are keys and values.class
UnmodifiableMutableMap<K,V>
An unmodifiable view of a map.Methods in org.eclipse.collections.impl.map.mutable with parameters of type MapIterable Modifier and Type Method Description <K, V> MutableMap<K,V>
MutableMapFactoryImpl. ofMapIterable(MapIterable<? extends K,? extends V> mapIterable)
<K, V> MutableMap<K,V>
MutableMapFactoryImpl. withMapIterable(MapIterable<? extends K,? extends V> mapIterable)
-
Uses of MapIterable in org.eclipse.collections.impl.map.ordered.mutable
Classes in org.eclipse.collections.impl.map.ordered.mutable that implement MapIterable Modifier and Type Class Description class
OrderedMapAdapter<K,V>
class
UnmodifiableMutableOrderedMap<K,V>
An unmodifiable view of a map. -
Uses of MapIterable in org.eclipse.collections.impl.map.sorted.immutable
Classes in org.eclipse.collections.impl.map.sorted.immutable that implement MapIterable Modifier and Type Class Description class
AbstractImmutableSortedMap<K,V>
class
ImmutableTreeMap<K,V>
-
Uses of MapIterable in org.eclipse.collections.impl.map.sorted.mutable
Classes in org.eclipse.collections.impl.map.sorted.mutable that implement MapIterable Modifier and Type Class Description class
AbstractMutableSortedMap<K,V>
class
SortedMapAdapter<K,V>
This class provides a MutableSortedMap wrapper around a JDK Collections SortedMap interface instance.class
SynchronizedSortedMap<K,V>
A synchronized view of a SortedMap.class
TreeSortedMap<K,V>
class
UnmodifiableTreeMap<K,V>
An unmodifiable view of a map. -
Uses of MapIterable in org.eclipse.collections.impl.map.strategy.immutable
Classes in org.eclipse.collections.impl.map.strategy.immutable that implement MapIterable Modifier and Type Class Description class
ImmutableUnifiedMapWithHashingStrategy<K,V>
-
Uses of MapIterable in org.eclipse.collections.impl.map.strategy.mutable
Classes in org.eclipse.collections.impl.map.strategy.mutable that implement MapIterable Modifier and Type Class Description class
UnifiedMapWithHashingStrategy<K,V>
UnifiedMapWithHashingStrategy stores key/value pairs in a single array, where alternate slots are keys and values. -
Uses of MapIterable in org.eclipse.collections.impl.test
Methods in org.eclipse.collections.impl.test with parameters of type MapIterable Modifier and Type Method Description static void
Verify. assertContainsAllKeyValues(String mapIterableName, MapIterable<?,?> mapIterable, Object... expectedKeyValues)
Assert that the givenMapIterable
contains all of the given keys and values.static void
Verify. assertContainsAllKeyValues(MapIterable<?,?> mapIterable, Object... keyValues)
Assert that the givenMapIterable
contains all of the given keys and values.static void
Verify. assertContainsKey(Object expectedKey, MapIterable<?,?> mapIterable)
Assert that the givenMapIterable
contains an entry with the given key.static void
Verify. assertContainsKey(String mapIterableName, Object expectedKey, MapIterable<?,?> mapIterable)
Assert that the givenMapIterable
contains an entry with the given key.static void
Verify. assertContainsKeyValue(Object expectedKey, Object expectedValue, MapIterable<?,?> mapIterable)
Assert that the givenMapIterable
contains an entry with the given key and value.static void
Verify. assertContainsKeyValue(String mapIterableName, Object expectedKey, Object expectedValue, MapIterable<?,?> mapIterable)
Assert that the givenMapIterable
contains an entry with the given key and value. -
Uses of MapIterable in org.eclipse.collections.impl.utility
Methods in org.eclipse.collections.impl.utility with parameters of type MapIterable Modifier and Type Method Description static <K, V> MutableSetMultimap<V,K>
MapIterate. flip(MapIterable<K,V> iMap)
static <K, V> MutableMap<V,K>
MapIterate. flipUniqueValues(MapIterable<K,V> mapIterable)