Uses of Interface
org.eclipse.collections.api.block.procedure.Procedure2
Packages that use Procedure2
Package
Description
This package contains interfaces for Eclipse Collections API.
This package contains interfaces for BiMap API.
This package contains interfaces for list API which enhance the performance and functionality of
List.This package contains interfaces for map API which enhance the performance and functionality of
MapThis package contains API for primitive to primitive maps, primitive to object maps and object to primitive maps with mutable and immutable variants.
This package contains mutable and immutable sorted map interfaces.
This package contains interfaces for
Multimap.This package contains interfaces for
BagMultimap.This package contains interfaces for
ListMultimap.This package contains interfaces for
SetMultimap.This package contains interfaces for stack API.
-
Uses of Procedure2 in org.eclipse.collections.api
Methods in org.eclipse.collections.api with parameters of type Procedure2Modifier and TypeMethodDescription<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.<P> voidInternalIterable.forEachWith(Procedure2<? super T, ? super P> procedure, P parameter) The procedure2 is evaluated for each element in the iterable with the specified parameter provided as the second argument.<P> voidParallelIterable.forEachWith(Procedure2<? super T, ? super P> procedure, P parameter) -
Uses of Procedure2 in org.eclipse.collections.api.bimap
Methods in org.eclipse.collections.api.bimap with parameters of type Procedure2Modifier and TypeMethodDescriptiondefault <KK,VV> ImmutableMap<KK, VV> ImmutableBiMap.aggregateInPlaceBy(Function<? super V, ? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) -
Uses of Procedure2 in org.eclipse.collections.api.collection
Methods in org.eclipse.collections.api.collection with parameters of type Procedure2Modifier and TypeMethodDescriptiondefault <K,V> ImmutableMap<K, V> ImmutableCollection.aggregateInPlaceBy(Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V, ? super T> mutatingAggregator) default <K,V> MutableMap<K, V> MutableCollection.aggregateInPlaceBy(Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V, ? super T> mutatingAggregator) -
Uses of Procedure2 in org.eclipse.collections.api.list
Methods in org.eclipse.collections.api.list with parameters of type Procedure2Modifier and TypeMethodDescriptiondefault <T2> voidListIterable.forEachInBoth(ListIterable<T2> other, Procedure2<? super T, ? super T2> procedure) Iterates over this ListIterable and the other ListIterable together passing the elements of each list as parameters to the specified procedure. -
Uses of Procedure2 in org.eclipse.collections.api.map
Methods in org.eclipse.collections.api.map with parameters of type Procedure2Modifier and TypeMethodDescriptiondefault <KK,VV> ImmutableMap<KK, VV> ImmutableMap.aggregateInPlaceBy(Function<? super V, ? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) default <KK,VV> ImmutableMapIterable<KK, VV> ImmutableMapIterable.aggregateInPlaceBy(Function<? super V, ? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) <KK,VV> ImmutableOrderedMap<KK, VV> ImmutableOrderedMap.aggregateInPlaceBy(Function<? super V, ? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) default <KK,VV> MutableMap<KK, VV> MutableMap.aggregateInPlaceBy(Function<? super V, ? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) default <KK,VV> MutableMapIterable<KK, VV> MutableMapIterable.aggregateInPlaceBy(Function<? super V, ? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) <KK,VV> MutableOrderedMap<KK, VV> MutableOrderedMap.aggregateInPlaceBy(Function<? super V, ? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) voidMapIterable.forEachKeyValue(Procedure2<? super K, ? super V> procedure) Calls theprocedurewith each key-value pair of the map. -
Uses of Procedure2 in org.eclipse.collections.api.map.primitive
Methods in org.eclipse.collections.api.map.primitive with parameters of type Procedure2Modifier and TypeMethodDescriptiondefault <K,VV> ImmutableMap<K, VV> ImmutablePrimitiveObjectMap.aggregateInPlaceBy(Function<? super V, ? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) <K,VV> MutableMap<K, VV> MutablePrimitiveObjectMap.aggregateInPlaceBy(Function<? super V, ? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) -
Uses of Procedure2 in org.eclipse.collections.api.map.sorted
Methods in org.eclipse.collections.api.map.sorted with parameters of type Procedure2Modifier and TypeMethodDescriptiondefault <KK,VV> ImmutableMap<KK, VV> ImmutableSortedMap.aggregateInPlaceBy(Function<? super V, ? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) -
Uses of Procedure2 in org.eclipse.collections.api.multimap
Methods in org.eclipse.collections.api.multimap with parameters of type Procedure2Modifier and TypeMethodDescriptionvoidMultimap.forEachKeyMultiValues(Procedure2<? super K, ? super RichIterable<V>> procedure) Calls theprocedurewith each key-Iterable[value].voidMultimap.forEachKeyValue(Procedure2<? super K, ? super V> procedure) Calls theprocedurewith each key-value pair. -
Uses of Procedure2 in org.eclipse.collections.api.multimap.bag
Methods in org.eclipse.collections.api.multimap.bag with parameters of type Procedure2Modifier and TypeMethodDescriptionvoidImmutableBagMultimap.forEachKeyImmutableBag(Procedure2<? super K, ? super ImmutableBag<V>> procedure) voidMutableBagMultimap.forEachKeyMutableBag(Procedure2<? super K, ? super MutableBag<V>> procedure) -
Uses of Procedure2 in org.eclipse.collections.api.multimap.list
Methods in org.eclipse.collections.api.multimap.list with parameters of type Procedure2Modifier and TypeMethodDescriptionvoidImmutableListMultimap.forEachKeyImmutableList(Procedure2<? super K, ? super ImmutableList<V>> procedure) voidMutableListMultimap.forEachKeyMutableList(Procedure2<? super K, ? super MutableList<V>> procedure) -
Uses of Procedure2 in org.eclipse.collections.api.multimap.set
Methods in org.eclipse.collections.api.multimap.set with parameters of type Procedure2Modifier and TypeMethodDescriptionvoidImmutableSetMultimap.forEachKeyImmutableSet(Procedure2<? super K, ? super ImmutableSet<V>> procedure) voidMutableSetMultimap.forEachKeyMutableSet(Procedure2<? super K, ? super MutableSet<V>> procedure) -
Uses of Procedure2 in org.eclipse.collections.api.stack
Methods in org.eclipse.collections.api.stack with parameters of type Procedure2Modifier and TypeMethodDescriptiondefault <K,V> ImmutableMap<K, V> ImmutableStack.aggregateInPlaceBy(Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V, ? super T> mutatingAggregator) default <K,V> MutableMap<K, V> MutableStack.aggregateInPlaceBy(Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V, ? super T> mutatingAggregator)