Uses of Interface
org.eclipse.collections.api.map.MapIterable
-
Packages that use 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 typeMapIterable.org.eclipse.collections.api.map This package contains interfaces for map API which enhance the performance and functionality ofMaporg.eclipse.collections.api.map.sorted This package contains mutable and immutable sorted map interfaces. -
-
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 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 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 interfaceBiMap<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 MapIterable Modifier and Type Method Description ImmutableBiMap<K,V>ImmutableBiMap. 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 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 interfaceConcurrentMutableMap<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 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.Methods in org.eclipse.collections.api.map with parameters of type MapIterable Modifier and Type Method Description ImmutableMap<K,V>ImmutableMap. newWithMapIterable(MapIterable<? extends K,? extends V> mapIterable)ImmutableMapIterable<K,V>ImmutableMapIterable. 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.sorted Modifier and Type Interface Description interfaceImmutableSortedMap<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 MapIterable Modifier and Type Method Description ImmutableSortedMap<K,V>ImmutableSortedMap. newWithMapIterable(MapIterable<? extends K,? extends V> mapIterable)default MutableSortedMap<K,V>MutableSortedMap. withMapIterable(MapIterable<? extends K,? extends V> mapIterable)
-