Uses of Interface
org.eclipse.collections.api.map.MapIterable
Packages that use MapIterable
Package
Description
This package contains interfaces for Eclipse Collections API.
This package contains interfaces for Bag API.
This package contains interfaces for BiMap API.
This package contains factory API for creating instances of type
MapIterable
.This package contains interfaces for map API which enhance the performance and functionality of
Map
This package contains mutable and immutable sorted map interfaces.
This package contains implementations for Eclipse Collections API.
This package contains implementations of the
MutableBiMap
interface.This package contains implementations of the
LazyIterable
interface.This package contains implementations of the
MapIterable
interface.This package contains implementations of the
ImmutableMap
interface.This package contains implementations of the
MutableMap
interface.This package contains implementations of the
MutableSortedMap
interface.This package contains implementations of the
MutableSortedMap
interface.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.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.This package contains
SerializeTestHelper
and Verify
classes.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 MapIterableModifier and TypeMethodDescription<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 the 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 MapIterableModifier and TypeMethodDescriptionBag.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.bimapModifier and TypeInterfaceDescriptioninterface
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.Methods in org.eclipse.collections.api.bimap with parameters of type MapIterableModifier and TypeMethodDescriptionImmutableBiMap.newWithMapIterable
(MapIterable<? extends K, ? extends V> mapIterable) default MutableBiMap<K,
V> MutableBiMap.withMapIterable
(MapIterable<? extends K, ? extends V> mapIterable) -
Uses of MapIterable in org.eclipse.collections.api.factory.map
Methods in org.eclipse.collections.api.factory.map with parameters of type MapIterableModifier and TypeMethodDescription<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.mapModifier and TypeInterfaceDescriptioninterface
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 from a JCF Map because 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 MapIterableModifier and TypeMethodDescriptiondefault <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> 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.flipUniqueValues()
Return the MapIterable that is obtained by flipping the direction of this map and making the associations from value to key.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.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.Executes the Procedure for each value of the map and returnsthis
.Methods in org.eclipse.collections.api.map with parameters of type MapIterableModifier and TypeMethodDescriptionImmutableMap.newWithMapIterable
(MapIterable<? extends K, ? extends V> mapIterable) ImmutableMapIterable.newWithMapIterable
(MapIterable<? extends K, ? extends V> mapIterable) default void
FixedSizeMap.putAllMapIterable
(MapIterable<? extends K, ? extends V> mapIterable) default void
MutableMapIterable.putAllMapIterable
(MapIterable<? extends K, ? extends V> mapIterable) default ConcurrentMutableMap<K,
V> ConcurrentMutableMap.withMapIterable
(MapIterable<? extends K, ? extends V> mapIterable) default FixedSizeMap<K,
V> FixedSizeMap.withMapIterable
(MapIterable<? extends K, ? extends V> mapIterable) default MutableMap<K,
V> MutableMap.withMapIterable
(MapIterable<? extends K, ? extends V> mapIterable) default MutableMapIterable<K,
V> MutableMapIterable.withMapIterable
(MapIterable<? extends K, ? extends V> mapIterable) default MutableOrderedMap<K,
V> MutableOrderedMap.withMapIterable
(MapIterable<? extends K, ? extends V> mapIterable) -
Uses of MapIterable in org.eclipse.collections.api.map.sorted
Subinterfaces of MapIterable in org.eclipse.collections.api.map.sortedModifier and TypeInterfaceDescriptioninterface
ImmutableSortedMap<K,
V> An ImmutableSortedMap is different from a JCF SortedMap because it has no mutating methods.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.Methods in org.eclipse.collections.api.map.sorted with parameters of type MapIterableModifier and TypeMethodDescriptionImmutableSortedMap.newWithMapIterable
(MapIterable<? extends K, ? extends V> mapIterable) default MutableSortedMap<K,
V> MutableSortedMap.withMapIterable
(MapIterable<? extends K, ? extends V> mapIterable) -
Uses of MapIterable in org.eclipse.collections.impl
Methods in org.eclipse.collections.impl that return MapIterableModifier and TypeMethodDescription<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 -
Uses of MapIterable in org.eclipse.collections.impl.bimap.immutable
Classes in org.eclipse.collections.impl.bimap.immutable that implement MapIterableMethods in org.eclipse.collections.impl.bimap.immutable with parameters of type MapIterableModifier and TypeMethodDescriptionAbstractImmutableBiMap.newWithMapIterable
(MapIterable<? extends K, ? extends V> mapIterable) -
Uses of MapIterable in org.eclipse.collections.impl.bimap.mutable
Classes in org.eclipse.collections.impl.bimap.mutable that implement MapIterableModifier and TypeClassDescriptionclass
HashBiMap<K,
V> AMutableBiMap
which uses two hash tables as its underlying data store.class
SynchronizedBiMap<K,
V> class
UnmodifiableBiMap<K,
V> Methods in org.eclipse.collections.impl.bimap.mutable with parameters of type MapIterableModifier and TypeMethodDescriptionvoid
SynchronizedBiMap.putAllMapIterable
(MapIterable<? extends K, ? extends V> mapIterable) void
UnmodifiableBiMap.putAllMapIterable
(MapIterable<? extends K, ? extends V> mapIterable) SynchronizedBiMap.withMapIterable
(MapIterable<? extends K, ? extends V> mapIterable) UnmodifiableBiMap.withMapIterable
(MapIterable<? extends K, ? extends V> mapIterable) -
Uses of MapIterable in org.eclipse.collections.impl.collection
Methods in org.eclipse.collections.impl.collection that return MapIterableModifier and TypeMethodDescription<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 MapIterableModifier and TypeMethodDescription<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 MapIterableModifier and TypeMethodDescription<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 MapIterableModifier and TypeMethodDescription<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 MapIterableModifier and TypeMethodDescription<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 MapIterableModifier and TypeMethodDescription<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 MapIterableModifier and TypeClassDescriptionclass
AbstractMapIterable<K,
V> class
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 MapIterableMethods in org.eclipse.collections.impl.map.immutable with parameters of type MapIterableModifier and TypeMethodDescriptionAbstractImmutableMap.newWithMapIterable
(MapIterable<? extends K, ? extends V> mapIterable) -
Uses of MapIterable in org.eclipse.collections.impl.map.mutable
Classes in org.eclipse.collections.impl.map.mutable that implement MapIterableModifier and TypeClassDescriptionclass
AbstractMutableMap<K,
V> class
final class
ConcurrentHashMap<K,
V> class
final class
Deprecated.since 2.0class
MapAdapter<K,
V> This class provides a MutableMap wrapper around a JDK Collections Map interface instance.class
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
An unmodifiable view of a map.Methods in org.eclipse.collections.impl.map.mutable with parameters of type MapIterableModifier and TypeMethodDescription<K,
V> MutableMap<K, V> MutableMapFactoryImpl.ofMapIterable
(MapIterable<? extends K, ? extends V> mapIterable) void
SynchronizedMutableMap.putAllMapIterable
(MapIterable<? extends K, ? extends V> mapIterable) void
UnmodifiableMutableMap.putAllMapIterable
(MapIterable<? extends K, ? extends V> mapIterable) ConcurrentHashMap.withMapIterable
(MapIterable<? extends K, ? extends V> mapIterable) <K,
V> MutableMap<K, V> MutableMapFactoryImpl.withMapIterable
(MapIterable<? extends K, ? extends V> mapIterable) MutableMap<K,
V> SynchronizedMutableMap.withMapIterable
(MapIterable<? extends K, ? extends V> mapIterable) MutableMap<K,
V> UnmodifiableMutableMap.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 MapIterableModifier and TypeClassDescriptionclass
OrderedMapAdapter<K,
V> class
An unmodifiable view of a map.Methods in org.eclipse.collections.impl.map.ordered.mutable with parameters of type MapIterableModifier and TypeMethodDescriptionvoid
OrderedMapAdapter.putAllMapIterable
(MapIterable<? extends K, ? extends V> mapIterable) void
UnmodifiableMutableOrderedMap.putAllMapIterable
(MapIterable<? extends K, ? extends V> mapIterable) OrderedMapAdapter.withMapIterable
(MapIterable<? extends K, ? extends V> mapIterable) UnmodifiableMutableOrderedMap.withMapIterable
(MapIterable<? extends K, ? extends V> mapIterable) -
Uses of MapIterable in org.eclipse.collections.impl.map.sorted.immutable
Classes in org.eclipse.collections.impl.map.sorted.immutable that implement MapIterableMethods in org.eclipse.collections.impl.map.sorted.immutable with parameters of type MapIterableModifier and TypeMethodDescriptionAbstractImmutableSortedMap.newWithMapIterable
(MapIterable<? extends K, ? extends V> mapIterable) -
Uses of MapIterable in org.eclipse.collections.impl.map.sorted.mutable
Classes in org.eclipse.collections.impl.map.sorted.mutable that implement MapIterableModifier and TypeClassDescriptionclass
class
SortedMapAdapter<K,
V> This class provides a MutableSortedMap wrapper around a JDK Collections SortedMap interface instance.class
A synchronized view of a SortedMap.class
TreeSortedMap<K,
V> class
UnmodifiableTreeMap<K,
V> An unmodifiable view of a map.Methods in org.eclipse.collections.impl.map.sorted.mutable with parameters of type MapIterableModifier and TypeMethodDescriptionvoid
SynchronizedSortedMap.putAllMapIterable
(MapIterable<? extends K, ? extends V> mapIterable) void
UnmodifiableTreeMap.putAllMapIterable
(MapIterable<? extends K, ? extends V> mapIterable) SynchronizedSortedMap.withMapIterable
(MapIterable<? extends K, ? extends V> mapIterable) UnmodifiableTreeMap.withMapIterable
(MapIterable<? extends K, ? extends V> mapIterable) -
Uses of MapIterable in org.eclipse.collections.impl.map.strategy.immutable
Classes in org.eclipse.collections.impl.map.strategy.immutable that implement MapIterableMethods in org.eclipse.collections.impl.map.strategy.immutable with parameters of type MapIterableModifier and TypeMethodDescriptionImmutableUnifiedMapWithHashingStrategy.newWithMapIterable
(MapIterable<? extends K, ? extends V> mapIterable) -
Uses of MapIterable in org.eclipse.collections.impl.map.strategy.mutable
Classes in org.eclipse.collections.impl.map.strategy.mutable that implement MapIterableModifier and TypeClassDescriptionclass
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 MapIterableModifier and TypeMethodDescriptionstatic void
Verify.assertContainsAllKeyValues
(String mapIterableName, MapIterable<?, ?> mapIterable, Object... expectedKeyValues) Assert that the givenMapIterable
contains all the given keys and values.static void
Verify.assertContainsAllKeyValues
(MapIterable<?, ?> mapIterable, Object... keyValues) Assert that the givenMapIterable
contains all 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 MapIterableModifier and TypeMethodDescriptionstatic <K,
V> MutableSetMultimap<V, K> MapIterate.flip
(MapIterable<K, V> iMap) static <K,
V> MutableMap<V, K> MapIterate.flipUniqueValues
(MapIterable<K, V> mapIterable)