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
MapThis package contains mutable and immutable sorted map interfaces.
-
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.default <K> MapIterable<K,T> RichIterable.reduceBy(Function<? super T, ? extends K> groupBy, Function2<? super T, ? super T, ? extends T> reduceFunction) Applies an aggregate function over the iterable grouping results into a map based on the specific groupBy function. -
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 TypeInterfaceDescriptioninterfaceBiMap<K,V> A map that allows users to look up key-value pairs from either direction.interfaceImmutableBiMap<K,V> ABiMapwhose contents cannot be altered after initialization.interfaceMutableBiMap<K,V> ABiMapwhose 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 TypeInterfaceDescriptioninterfaceConcurrentMutableMap<K,V> A ConcurrentMutableMap provides an api which combines and supports both MutableMap and ConcurrentMap.interfaceFixedSizeMap<K,V> A FixedSizeMap is a map that may be mutated, but cannot grow or shrink in size.interfaceImmutableMap<K,V> An ImmutableMap is different from a JCF Map because it has no mutating methods.interfaceImmutableMapIterable<K,V> interfaceImmutableOrderedMap<K,V> interfaceMutableMap<K,V> A MutableMap is similar to a JCF Map but adds additional useful internal iterator methods.interfaceMutableMapIterable<K,V> interfaceMutableOrderedMap<K,V> interfaceOrderedMap<K,V> A map whose keys are ordered but not necessarily sorted, for example a linked hash map.interfaceUnsortedMapIterable<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<R,V> MapIterable.collectKeysUnique(Function2<? super K, ? super V, ? extends R> 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.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) ImmutableOrderedMap.newWithMapIterable(MapIterable<? extends K, ? extends V> mapIterable) default voidFixedSizeMap.putAllMapIterable(MapIterable<? extends K, ? extends V> mapIterable) default voidMutableMapIterable.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 TypeInterfaceDescriptioninterfaceImmutableSortedMap<K,V> An ImmutableSortedMap is different from a JCF SortedMap because it has no mutating methods.interfaceMutableSortedMap<K,V> A MutableSortedMap is similar to a JCF Map but adds additional useful internal iterator methods.interfaceSortedMapIterable<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)