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.
This package contains implementations for Eclipse Collections API.
This package contains implementations of the
MutableBag interface.This package contains implementations of
MutableSortedBag.This package contains implementations of the
MutableBiMap interface.This package contains factory implementations for
Function, Predicate, SerializableComparator and Procedure.This package contains implementations of
Procedure and Procedure2.This package contains abstract implementations of
Procedure and Procedure2.This package contains implementations of the
MutableCollection interface.This package contains implementations which has several parallel algorithms that work with Collections and make use of Java's fork-join
framework.
This package contains implementations of the
LazyIterable interface.This package contains implementations of the lazy primitive iterator interfaces.
This package contains implementations of the
ListIterable interface.This package contains implementations of the
FixedSizeList interface.This package contains implementations of the
MutableList 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 mutable primitive-primitive, primitive-object and object-primitive map interfaces.
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
HashingStrategys 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
HashingStrategys provided by
the developer to compute the hashCode and equals for the objects stored in the map.This package contains implementations of the
Multimap interface.This package contains implementations of the
BagMultimap interface.This package contains implementations of the
ListMultimap interface.This package contains implementations of the
SetMultimap interface.This package contains classes which is used for parallel iteration through the containers.
This package contains implementations of
MutableSet.This package contains implementations of sets with user defined
HashingStrategys.This package contains implementations of the
MutableStack interface.This package contains static utilities that provide iteration pattern implementations which work with JCF collections.
This package contains static utilities that provide internal iteration pattern implementations which work with JCF collections.
-
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) -
Uses of Procedure2 in org.eclipse.collections.impl
Methods in org.eclipse.collections.impl with parameters of type Procedure2Modifier and TypeMethodDescription<K,V> MapIterable <K, V> UnmodifiableRichIterable.aggregateInPlaceBy(Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V, ? super T> mutatingAggregator) <P> voidAbstractRichIterable.forEachWith(Procedure2<? super T, ? super P> procedure, P parameter) <P> voidUnmodifiableRichIterable.forEachWith(Procedure2<? super T, ? super P> procedure, P parameter) -
Uses of Procedure2 in org.eclipse.collections.impl.bag.mutable
Methods in org.eclipse.collections.impl.bag.mutable with parameters of type Procedure2Modifier and TypeMethodDescription<P> voidAbstractHashBag.forEachWith(Procedure2<? super T, ? super P> procedure, P parameter) -
Uses of Procedure2 in org.eclipse.collections.impl.bag.sorted.mutable
Methods in org.eclipse.collections.impl.bag.sorted.mutable with parameters of type Procedure2Modifier and TypeMethodDescription<P> voidTreeBag.forEachWith(Procedure2<? super T, ? super P> procedure, P parameter) -
Uses of Procedure2 in org.eclipse.collections.impl.bimap
Methods in org.eclipse.collections.impl.bimap with parameters of type Procedure2Modifier and TypeMethodDescriptionvoidAbstractBiMap.forEachKeyValue(Procedure2<? super K, ? super V> procedure) <P> voidAbstractBiMap.forEachWith(Procedure2<? super V, ? super P> procedure, P parameter) -
Uses of Procedure2 in org.eclipse.collections.impl.bimap.immutable
Methods in org.eclipse.collections.impl.bimap.immutable with parameters of type Procedure2Modifier and TypeMethodDescription<K2,V2> ImmutableMap <K2, V2> AbstractImmutableBiMap.aggregateInPlaceBy(Function<? super V, ? extends K2> groupBy, Function0<? extends V2> zeroValueFactory, Procedure2<? super V2, ? super V> mutatingAggregator) -
Uses of Procedure2 in org.eclipse.collections.impl.bimap.mutable
Methods in org.eclipse.collections.impl.bimap.mutable with parameters of type Procedure2Modifier and TypeMethodDescriptionvoidUnmodifiableBiMap.forEachKeyValue(Procedure2<? super K, ? super V> procedure) <P> voidUnmodifiableBiMap.forEachWith(Procedure2<? super V, ? super P> procedure, P parameter) -
Uses of Procedure2 in org.eclipse.collections.impl.block.factory
Fields in org.eclipse.collections.impl.block.factory declared as Procedure2Modifier and TypeFieldDescriptionstatic final Procedure2<?, ?> Procedures2.ADD_TO_COLLECTIONstatic final Procedure2<?, ?> Procedures2.REMOVE_FROM_COLLECTIONMethods in org.eclipse.collections.impl.block.factory that return Procedure2Modifier and TypeMethodDescriptionstatic <T> Procedure2<T, Collection<T>> Procedures2.addToCollection()static <T1,T2, T3> Procedure2 <T1, T3> Functions.bind(Procedure2<? super T2, T3> delegate, Function<? super T1, T2> function) Bind the input of the first argument of a Procedure2 to the result of a function, returning a new Procedure2.static <T,P> Procedure2 <T, P> Procedures2.fromProcedure(Procedure<? super T> procedure) static <T> Procedure2<T, Collection<T>> Procedures2.removeFromCollection()static <T> Procedure2<DoubleSummaryStatistics, T> Procedures2.summarizeDouble(DoubleFunction<? super T> function) static <T> Procedure2<DoubleSummaryStatistics, T> Procedures2.summarizeFloat(FloatFunction<? super T> function) static <T> Procedure2<IntSummaryStatistics, T> Procedures2.summarizeInt(IntFunction<? super T> function) static <T> Procedure2<LongSummaryStatistics, T> Procedures2.summarizeLong(LongFunction<? super T> function) static <T,P> Procedure2 <T, P> Procedures2.throwing(ThrowingProcedure2<T, P> throwingProcedure2) Allows a lambda or anonymous inner class that needs to throw a checked exception to be safely wrapped as a Procedure2 that will throw a RuntimeException, wrapping the checked exception that is the cause.static <T1,T2> Procedure2 <T1, T2> Procedures2.throwing(ThrowingProcedure2<T1, T2> throwingProcedure, Function3<T1, T2, ? super Throwable, ? extends RuntimeException> rethrow) Allows a lambda or anonymous inner class that needs to throw a checked exception to be safely wrapped as a Procedure2 that will throw a user specified RuntimeException based on the provided function.Methods in org.eclipse.collections.impl.block.factory with parameters of type Procedure2Modifier and TypeMethodDescriptionstatic <T1,T2, T3> Procedure2 <T1, T3> Functions.bind(Procedure2<? super T2, T3> delegate, Function<? super T1, T2> function) Bind the input of the first argument of a Procedure2 to the result of a function, returning a new Procedure2.static <T,P> Procedure <T> Procedures.bind(Procedure2<? super T, ? super P> procedure, P parameter) -
Uses of Procedure2 in org.eclipse.collections.impl.block.procedure
Classes in org.eclipse.collections.impl.block.procedure that implement Procedure2Modifier and TypeClassDescriptionfinal classIfProcedureWith<T,P> A conditional parameterized two argument procedure that effectively filters which objects should be usedclassMapPutProcedure<K,V> Transfers keys and values from one map to anotherConstructors in org.eclipse.collections.impl.block.procedure with parameters of type Procedure2ModifierConstructorDescriptionIfProcedureWith(Predicate<? super T> newPredicate, Procedure2<? super T, ? super P> procedure) MapEntryToProcedure2(Procedure2<? super K, ? super V> procedure) MutatingAggregationProcedure(MutableMapIterable<K, V> map, Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V, ? super T> mutatingAggregator) -
Uses of Procedure2 in org.eclipse.collections.impl.block.procedure.checked
Classes in org.eclipse.collections.impl.block.procedure.checked that implement Procedure2 -
Uses of Procedure2 in org.eclipse.collections.impl.collection
Methods in org.eclipse.collections.impl.collection with parameters of type Procedure2Modifier and TypeMethodDescription<K,V> MapIterable <K, V> AbstractSynchronizedRichIterable.aggregateInPlaceBy(Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V, ? super T> mutatingAggregator) <P> voidAbstractSynchronizedRichIterable.forEachWith(Procedure2<? super T, ? super P> procedure, P parameter) -
Uses of Procedure2 in org.eclipse.collections.impl.collection.mutable
Methods in org.eclipse.collections.impl.collection.mutable with parameters of type Procedure2Modifier and TypeMethodDescription<K,V> MutableMap <K, V> AbstractMultiReaderMutableCollection.aggregateInPlaceBy(Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V, ? super T> mutatingAggregator) <K,V> MutableMap <K, V> AbstractSynchronizedMutableCollection.aggregateInPlaceBy(Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V, ? super T> mutatingAggregator) <P> voidAbstractCollectionAdapter.forEachWith(Procedure2<? super T, ? super P> procedure, P parameter) <P> voidAbstractMultiReaderMutableCollection.forEachWith(Procedure2<? super T, ? super P> procedure, P parameter) <P> voidAbstractMultiReaderMutableCollection.UntouchableMutableCollection.forEachWith(Procedure2<? super T, ? super P> procedure, P parameter) <P> voidAbstractUnmodifiableMutableCollection.forEachWith(Procedure2<? super T, ? super P> procedure, P parameter) -
Uses of Procedure2 in org.eclipse.collections.impl.forkjoin
Methods in org.eclipse.collections.impl.forkjoin with parameters of type Procedure2Modifier and TypeMethodDescriptionstatic <T,K, V> MutableMap <K, V> FJIterate.aggregateInPlaceBy(Iterable<T> iterable, Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V, ? super T> mutatingAggregator) static <T,K, V> MutableMap <K, V> FJIterate.aggregateInPlaceBy(Iterable<T> iterable, Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V, ? super T> mutatingAggregator, int batchSize) static <T,K, V> MutableMap <K, V> FJIterate.aggregateInPlaceBy(Iterable<T> iterable, Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V, ? super T> mutatingAggregator, int batchSize, ForkJoinPool executor) static <T, K, V, R extends MutableMapIterable<K,V>>
RFJIterate.aggregateInPlaceBy(Iterable<T> iterable, Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V, ? super T> mutatingAggregator, R mutableMap) static <T, K, V, R extends MutableMapIterable<K,V>>
RFJIterate.aggregateInPlaceBy(Iterable<T> iterable, Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V, ? super T> mutatingAggregator, R mutableMap, int batchSize) static <T, K, V, R extends MutableMapIterable<K,V>>
RFJIterate.aggregateInPlaceBy(Iterable<T> iterable, Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V, ? super T> mutatingAggregator, R mutableMap, int batchSize, ForkJoinPool executor) -
Uses of Procedure2 in org.eclipse.collections.impl.lazy
Methods in org.eclipse.collections.impl.lazy with parameters of type Procedure2Modifier and TypeMethodDescription<P> voidCollectIterable.forEachWith(Procedure2<? super V, ? super P> procedure, P parameter) <P> voidCompositeIterable.forEachWith(Procedure2<? super E, ? super P> procedure, P parameter) <P> voidDropIterable.forEachWith(Procedure2<? super T, ? super P> procedure, P parameter) <P> voidDropWhileIterable.forEachWith(Procedure2<? super T, ? super P> procedure, P parameter) <P> voidFlatCollectIterable.forEachWith(Procedure2<? super V, ? super P> procedure, P parameter) <P> voidLazyIterableAdapter.forEachWith(Procedure2<? super T, ? super P> procedure, P parameter) <P> voidRejectIterable.forEachWith(Procedure2<? super T, ? super P> procedure, P parameter) <P> voidReverseIterable.forEachWith(Procedure2<? super T, ? super P> procedure, P parameter) <P> voidSelectInstancesOfIterable.forEachWith(Procedure2<? super T, ? super P> procedure, P parameter) <P> voidSelectIterable.forEachWith(Procedure2<? super T, ? super P> procedure, P parameter) <P> voidTakeIterable.forEachWith(Procedure2<? super T, ? super P> procedure, P parameter) <P> voidTakeWhileIterable.forEachWith(Procedure2<? super T, ? super P> procedure, P parameter) <P> voidTapIterable.forEachWith(Procedure2<? super T, ? super P> procedure, P parameter) -
Uses of Procedure2 in org.eclipse.collections.impl.lazy.parallel
Methods in org.eclipse.collections.impl.lazy.parallel with parameters of type Procedure2Modifier and TypeMethodDescription<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) protected <S,V> void AbstractParallelIterable.collectCombine(Function<Batch<T>, V> function, Procedure2<S, V> combineProcedure, S state) <P> voidAbstractMultiReaderParallelIterable.forEachWith(Procedure2<? super T, ? super P> procedure, P parameter) <P> voidAbstractParallelIterable.forEachWith(Procedure2<? super T, ? super P> procedure, P parameter) <P> voidAbstractSynchronizedParallelIterable.forEachWith(Procedure2<? super T, ? super P> procedure, P parameter) <P> voidNonParallelIterable.forEachWith(Procedure2<? super T, ? super P> procedure, P parameter) -
Uses of Procedure2 in org.eclipse.collections.impl.lazy.primitive
Methods in org.eclipse.collections.impl.lazy.primitive with parameters of type Procedure2Modifier and TypeMethodDescription<P> voidCollectBooleanToObjectIterable.forEachWith(Procedure2<? super V, ? super P> procedure, P parameter) <P> voidCollectByteToObjectIterable.forEachWith(Procedure2<? super V, ? super P> procedure, P parameter) <P> voidCollectCharToObjectIterable.forEachWith(Procedure2<? super V, ? super P> procedure, P parameter) <P> voidCollectDoubleToObjectIterable.forEachWith(Procedure2<? super V, ? super P> procedure, P parameter) <P> voidCollectFloatToObjectIterable.forEachWith(Procedure2<? super V, ? super P> procedure, P parameter) <P> voidCollectIntToObjectIterable.forEachWith(Procedure2<? super V, ? super P> procedure, P parameter) <P> voidCollectLongToObjectIterable.forEachWith(Procedure2<? super V, ? super P> procedure, P parameter) <P> voidCollectShortToObjectIterable.forEachWith(Procedure2<? super V, ? super P> procedure, P parameter) <P> voidFlatCollectBooleanToObjectIterable.forEachWith(Procedure2<? super V, ? super P> procedure, P parameter) <P> voidFlatCollectByteToObjectIterable.forEachWith(Procedure2<? super V, ? super P> procedure, P parameter) <P> voidFlatCollectCharToObjectIterable.forEachWith(Procedure2<? super V, ? super P> procedure, P parameter) <P> voidFlatCollectDoubleToObjectIterable.forEachWith(Procedure2<? super V, ? super P> procedure, P parameter) <P> voidFlatCollectFloatToObjectIterable.forEachWith(Procedure2<? super V, ? super P> procedure, P parameter) <P> voidFlatCollectIntToObjectIterable.forEachWith(Procedure2<? super V, ? super P> procedure, P parameter) <P> voidFlatCollectLongToObjectIterable.forEachWith(Procedure2<? super V, ? super P> procedure, P parameter) <P> voidFlatCollectShortToObjectIterable.forEachWith(Procedure2<? super V, ? super P> procedure, P parameter) -
Uses of Procedure2 in org.eclipse.collections.impl.list
Methods in org.eclipse.collections.impl.list with parameters of type Procedure2Modifier and TypeMethodDescription<P> voidInterval.forEachWith(Procedure2<? super Integer, ? super P> procedure, P parameter) -
Uses of Procedure2 in org.eclipse.collections.impl.list.fixed
Methods in org.eclipse.collections.impl.list.fixed with parameters of type Procedure2Modifier and TypeMethodDescription<P> voidAbstractArrayAdapter.forEachWith(Procedure2<? super T, ? super P> procedure, P parameter) -
Uses of Procedure2 in org.eclipse.collections.impl.list.mutable
Methods in org.eclipse.collections.impl.list.mutable with parameters of type Procedure2Modifier and TypeMethodDescription<T2> voidMultiReaderFastList.forEachInBoth(ListIterable<T2> other, Procedure2<? super T, ? super T2> procedure) <T2> voidSynchronizedMutableList.forEachInBoth(ListIterable<T2> other, Procedure2<? super T, ? super T2> procedure) <P> voidAbstractMutableList.forEachWith(Procedure2<? super T, ? super P> procedure, P parameter) <P> voidCompositeFastList.forEachWith(Procedure2<? super E, ? super P> procedure2, P parameter) <P> voidFastList.forEachWith(Procedure2<? super T, ? super P> procedure, P parameter) -
Uses of Procedure2 in org.eclipse.collections.impl.map
Methods in org.eclipse.collections.impl.map with parameters of type Procedure2Modifier and TypeMethodDescription<KK,VV> MutableMapIterable <KK, VV> AbstractSynchronizedMapIterable.aggregateInPlaceBy(Function<? super V, ? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) voidAbstractSynchronizedMapIterable.forEachKeyValue(Procedure2<? super K, ? super V> procedure2) <P> voidAbstractMapIterable.forEachWith(Procedure2<? super V, ? super P> procedure2, P parameter) -
Uses of Procedure2 in org.eclipse.collections.impl.map.immutable
Methods in org.eclipse.collections.impl.map.immutable with parameters of type Procedure2Modifier and TypeMethodDescriptionvoidImmutableUnifiedMap.forEachKeyValue(Procedure2<? super K, ? super V> procedure) <P> voidImmutableUnifiedMap.forEachWith(Procedure2<? super V, ? super P> procedure, P parameter) -
Uses of Procedure2 in org.eclipse.collections.impl.map.mutable
Methods in org.eclipse.collections.impl.map.mutable with parameters of type Procedure2Modifier and TypeMethodDescription<KK,VV> MutableMap <KK, VV> SynchronizedMutableMap.aggregateInPlaceBy(Function<? super V, ? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) voidConcurrentHashMap.forEachKeyValue(Procedure2<? super K, ? super V> procedure) voidConcurrentHashMapUnsafe.forEachKeyValue(Procedure2<? super K, ? super V> procedure) voidConcurrentMutableHashMap.forEachKeyValue(Procedure2<? super K, ? super V> procedure) Deprecated.voidMapAdapter.forEachKeyValue(Procedure2<? super K, ? super V> procedure) voidUnifiedMap.forEachKeyValue(Procedure2<? super K, ? super V> procedure) voidUnmodifiableMutableMap.forEachKeyValue(Procedure2<? super K, ? super V> procedure) <P> voidConcurrentHashMap.forEachWith(Procedure2<? super V, ? super P> procedure, P parameter) <P> voidConcurrentHashMapUnsafe.forEachWith(Procedure2<? super V, ? super P> procedure, P parameter) <P> voidConcurrentMutableHashMap.forEachWith(Procedure2<? super V, ? super P> procedure, P parameter) Deprecated.<P> voidUnifiedMap.forEachWith(Procedure2<? super V, ? super P> procedure, P parameter) <P> voidUnmodifiableMutableMap.forEachWith(Procedure2<? super V, ? super P> procedure, P parameter) Method parameters in org.eclipse.collections.impl.map.mutable with type arguments of type Procedure2Modifier and TypeMethodDescriptionvoidConcurrentHashMap.parallelForEachKeyValue(List<Procedure2<K, V>> blocks, Executor executor) voidConcurrentHashMapUnsafe.parallelForEachKeyValue(List<Procedure2<K, V>> blocks, Executor executor) -
Uses of Procedure2 in org.eclipse.collections.impl.map.mutable.primitive
Methods in org.eclipse.collections.impl.map.mutable.primitive with parameters of type Procedure2Modifier and TypeMethodDescription<K,VV> MutableMap <K, VV> ByteObjectHashMap.aggregateInPlaceBy(Function<? super V, ? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) <K,VV> MutableMap <K, VV> CharObjectHashMap.aggregateInPlaceBy(Function<? super V, ? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) <K,VV> MutableMap <K, VV> DoubleObjectHashMap.aggregateInPlaceBy(Function<? super V, ? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) <K,VV> MutableMap <K, VV> FloatObjectHashMap.aggregateInPlaceBy(Function<? super V, ? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) <K,VV> MutableMap <K, VV> IntObjectHashMap.aggregateInPlaceBy(Function<? super V, ? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) <K,VV> MutableMap <K, VV> LongObjectHashMap.aggregateInPlaceBy(Function<? super V, ? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) <K,VV> MutableMap <K, VV> ShortObjectHashMap.aggregateInPlaceBy(Function<? super V, ? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) <K,VV> MutableMap <K, VV> SynchronizedByteObjectMap.aggregateInPlaceBy(Function<? super V, ? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) <K,VV> MutableMap <K, VV> SynchronizedCharObjectMap.aggregateInPlaceBy(Function<? super V, ? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) <K,VV> MutableMap <K, VV> SynchronizedDoubleObjectMap.aggregateInPlaceBy(Function<? super V, ? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) <K,VV> MutableMap <K, VV> SynchronizedFloatObjectMap.aggregateInPlaceBy(Function<? super V, ? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) <K,VV> MutableMap <K, VV> SynchronizedIntObjectMap.aggregateInPlaceBy(Function<? super V, ? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) <K,VV> MutableMap <K, VV> SynchronizedLongObjectMap.aggregateInPlaceBy(Function<? super V, ? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) <K,VV> MutableMap <K, VV> SynchronizedShortObjectMap.aggregateInPlaceBy(Function<? super V, ? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) <K,VV> MutableMap <K, VV> UnmodifiableByteObjectMap.aggregateInPlaceBy(Function<? super V, ? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) <K,VV> MutableMap <K, VV> UnmodifiableCharObjectMap.aggregateInPlaceBy(Function<? super V, ? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) <K,VV> MutableMap <K, VV> UnmodifiableDoubleObjectMap.aggregateInPlaceBy(Function<? super V, ? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) <K,VV> MutableMap <K, VV> UnmodifiableFloatObjectMap.aggregateInPlaceBy(Function<? super V, ? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) <K,VV> MutableMap <K, VV> UnmodifiableIntObjectMap.aggregateInPlaceBy(Function<? super V, ? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) <K,VV> MutableMap <K, VV> UnmodifiableLongObjectMap.aggregateInPlaceBy(Function<? super V, ? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) <K,VV> MutableMap <K, VV> UnmodifiableShortObjectMap.aggregateInPlaceBy(Function<? super V, ? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) <P> voidByteObjectHashMap.forEachWith(Procedure2<? super V, ? super P> procedure, P parameter) <P> voidCharObjectHashMap.forEachWith(Procedure2<? super V, ? super P> procedure, P parameter) <P> voidDoubleObjectHashMap.forEachWith(Procedure2<? super V, ? super P> procedure, P parameter) <P> voidFloatObjectHashMap.forEachWith(Procedure2<? super V, ? super P> procedure, P parameter) <P> voidIntObjectHashMap.forEachWith(Procedure2<? super V, ? super P> procedure, P parameter) <P> voidLongObjectHashMap.forEachWith(Procedure2<? super V, ? super P> procedure, P parameter) <P> voidShortObjectHashMap.forEachWith(Procedure2<? super V, ? super P> procedure, P parameter) <P> voidSynchronizedByteObjectMap.forEachWith(Procedure2<? super V, ? super P> procedure, P parameter) <P> voidSynchronizedCharObjectMap.forEachWith(Procedure2<? super V, ? super P> procedure, P parameter) <P> voidSynchronizedDoubleObjectMap.forEachWith(Procedure2<? super V, ? super P> procedure, P parameter) <P> voidSynchronizedFloatObjectMap.forEachWith(Procedure2<? super V, ? super P> procedure, P parameter) <P> voidSynchronizedIntObjectMap.forEachWith(Procedure2<? super V, ? super P> procedure, P parameter) <P> voidSynchronizedLongObjectMap.forEachWith(Procedure2<? super V, ? super P> procedure, P parameter) <P> voidSynchronizedShortObjectMap.forEachWith(Procedure2<? super V, ? super P> procedure, P parameter) <P> voidUnmodifiableByteObjectMap.forEachWith(Procedure2<? super V, ? super P> procedure, P parameter) <P> voidUnmodifiableCharObjectMap.forEachWith(Procedure2<? super V, ? super P> procedure, P parameter) <P> voidUnmodifiableDoubleObjectMap.forEachWith(Procedure2<? super V, ? super P> procedure, P parameter) <P> voidUnmodifiableFloatObjectMap.forEachWith(Procedure2<? super V, ? super P> procedure, P parameter) <P> voidUnmodifiableIntObjectMap.forEachWith(Procedure2<? super V, ? super P> procedure, P parameter) <P> voidUnmodifiableLongObjectMap.forEachWith(Procedure2<? super V, ? super P> procedure, P parameter) <P> voidUnmodifiableShortObjectMap.forEachWith(Procedure2<? super V, ? super P> procedure, P parameter) -
Uses of Procedure2 in org.eclipse.collections.impl.map.ordered.immutable
Methods in org.eclipse.collections.impl.map.ordered.immutable with parameters of type Procedure2Modifier and TypeMethodDescription<KK,VV> ImmutableOrderedMap <KK, VV> ImmutableOrderedMapAdapter.aggregateInPlaceBy(Function<? super V, ? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) voidImmutableOrderedMapAdapter.forEachKeyValue(Procedure2<? super K, ? super V> procedure) <P> voidImmutableOrderedMapAdapter.forEachWith(Procedure2<? super V, ? super P> procedure, P parameter) -
Uses of Procedure2 in org.eclipse.collections.impl.map.ordered.mutable
Methods in org.eclipse.collections.impl.map.ordered.mutable with parameters of type Procedure2Modifier and TypeMethodDescription<KK,VV> MutableOrderedMap <KK, VV> OrderedMapAdapter.aggregateInPlaceBy(Function<? super V, ? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) <KK,VV> MutableOrderedMap <KK, VV> UnmodifiableMutableOrderedMap.aggregateInPlaceBy(Function<? super V, ? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) voidOrderedMapAdapter.forEachKeyValue(Procedure2<? super K, ? super V> procedure) voidUnmodifiableMutableOrderedMap.forEachKeyValue(Procedure2<? super K, ? super V> procedure) <P> voidUnmodifiableMutableOrderedMap.forEachWith(Procedure2<? super V, ? super P> procedure, P parameter) -
Uses of Procedure2 in org.eclipse.collections.impl.map.sorted.immutable
Methods in org.eclipse.collections.impl.map.sorted.immutable with parameters of type Procedure2Modifier and TypeMethodDescriptionvoidImmutableTreeMap.forEachKeyValue(Procedure2<? super K, ? super V> procedure) -
Uses of Procedure2 in org.eclipse.collections.impl.map.sorted.mutable
Methods in org.eclipse.collections.impl.map.sorted.mutable with parameters of type Procedure2Modifier and TypeMethodDescriptionvoidSortedMapAdapter.forEachKeyValue(Procedure2<? super K, ? super V> procedure) voidTreeSortedMap.forEachKeyValue(Procedure2<? super K, ? super V> procedure2) voidUnmodifiableTreeMap.forEachKeyValue(Procedure2<? super K, ? super V> procedure) <P> voidUnmodifiableTreeMap.forEachWith(Procedure2<? super V, ? super P> procedure, P parameter) -
Uses of Procedure2 in org.eclipse.collections.impl.map.strategy.immutable
Methods in org.eclipse.collections.impl.map.strategy.immutable with parameters of type Procedure2Modifier and TypeMethodDescriptionvoidImmutableUnifiedMapWithHashingStrategy.forEachKeyValue(Procedure2<? super K, ? super V> procedure) <P> voidImmutableUnifiedMapWithHashingStrategy.forEachWith(Procedure2<? super V, ? super P> procedure, P parameter) -
Uses of Procedure2 in org.eclipse.collections.impl.map.strategy.mutable
Methods in org.eclipse.collections.impl.map.strategy.mutable with parameters of type Procedure2Modifier and TypeMethodDescriptionvoidUnifiedMapWithHashingStrategy.forEachKeyValue(Procedure2<? super K, ? super V> procedure) <P> voidUnifiedMapWithHashingStrategy.forEachWith(Procedure2<? super V, ? super P> procedure, P parameter) -
Uses of Procedure2 in org.eclipse.collections.impl.multimap
Methods in org.eclipse.collections.impl.multimap with parameters of type Procedure2Modifier and TypeMethodDescriptionvoidAbstractMultimap.forEachKeyMultiValues(Procedure2<? super K, ? super RichIterable<V>> procedure) voidAbstractSynchronizedMultimap.forEachKeyMultiValues(Procedure2<? super K, ? super RichIterable<V>> procedure) voidAbstractMultimap.forEachKeyValue(Procedure2<? super K, ? super V> procedure) voidAbstractSynchronizedMultimap.forEachKeyValue(Procedure2<? super K, ? super V> procedure) -
Uses of Procedure2 in org.eclipse.collections.impl.multimap.bag
Methods in org.eclipse.collections.impl.multimap.bag with parameters of type Procedure2Modifier and TypeMethodDescriptionvoidImmutableBagMultimapImpl.forEachKeyImmutableBag(Procedure2<? super K, ? super ImmutableBag<V>> procedure) voidAbstractMutableBagMultimap.forEachKeyMutableBag(Procedure2<? super K, ? super MutableBag<V>> procedure) voidSynchronizedBagMultimap.forEachKeyMutableBag(Procedure2<? super K, ? super MutableBag<V>> procedure) voidSynchronizedPutHashBagMultimap.forEachKeyMutableBag(Procedure2<? super K, ? super MutableBag<V>> procedure) -
Uses of Procedure2 in org.eclipse.collections.impl.multimap.list
Methods in org.eclipse.collections.impl.multimap.list with parameters of type Procedure2Modifier and TypeMethodDescriptionvoidImmutableListMultimapImpl.forEachKeyImmutableList(Procedure2<? super K, ? super ImmutableList<V>> procedure) voidAbstractMutableListMultimap.forEachKeyMutableList(Procedure2<? super K, ? super MutableList<V>> procedure) voidSynchronizedListMultimap.forEachKeyMutableList(Procedure2<? super K, ? super MutableList<V>> procedure) voidSynchronizedPutFastListMultimap.forEachKeyMutableList(Procedure2<? super K, ? super MutableList<V>> procedure) -
Uses of Procedure2 in org.eclipse.collections.impl.multimap.set
Methods in org.eclipse.collections.impl.multimap.set with parameters of type Procedure2Modifier and TypeMethodDescriptionvoidImmutableSetMultimapImpl.forEachKeyImmutableSet(Procedure2<? super K, ? super ImmutableSet<V>> procedure) voidAbstractMutableSetMultimap.forEachKeyMutableSet(Procedure2<? super K, ? super MutableSet<V>> procedure) voidSynchronizedPutUnifiedSetMultimap.forEachKeyMutableSet(Procedure2<? super K, ? super MutableSet<V>> procedure) voidSynchronizedSetMultimap.forEachKeyMutableSet(Procedure2<? super K, ? super MutableSet<V>> procedure) -
Uses of Procedure2 in org.eclipse.collections.impl.parallel
Methods in org.eclipse.collections.impl.parallel with parameters of type Procedure2Modifier and TypeMethodDescriptionstatic <T,K, V> MutableMap <K, V> ParallelIterate.aggregateInPlaceBy(Iterable<T> iterable, Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V, ? super T> mutatingAggregator) static <T,K, V> MutableMap <K, V> ParallelIterate.aggregateInPlaceBy(Iterable<T> iterable, Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V, ? super T> mutatingAggregator, int batchSize) static <T,K, V> MutableMap <K, V> ParallelIterate.aggregateInPlaceBy(Iterable<T> iterable, Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V, ? super T> mutatingAggregator, int batchSize, Executor executor) static <T, K, V, R extends MutableMapIterable<K,V>>
RParallelIterate.aggregateInPlaceBy(Iterable<T> iterable, Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V, ? super T> mutatingAggregator, R mutableMap) static <T, K, V, R extends MutableMapIterable<K,V>>
RParallelIterate.aggregateInPlaceBy(Iterable<T> iterable, Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V, ? super T> mutatingAggregator, R mutableMap, int batchSize) static <T, K, V, R extends MutableMapIterable<K,V>>
RParallelIterate.aggregateInPlaceBy(Iterable<T> iterable, Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V, ? super T> mutatingAggregator, R mutableMap, int batchSize, Executor executor) static <K,V> void ParallelMapIterate.forEachKeyValue(Map<K, V> map, Procedure2<? super K, ? super V> procedure2) A parallel form of forEachKeyValue.static <K,V> void ParallelMapIterate.forEachKeyValue(Map<K, V> map, Procedure2<? super K, ? super V> procedure, int minForkSize, int taskCount) A parallel form of forEachKeyValue.static <K,V> void ParallelMapIterate.forEachKeyValue(Map<K, V> map, Procedure2<? super K, ? super V> procedure, int minForkSize, int taskCount, Executor executor) A parallel form of forEachKeyValue.static <K,V> void ParallelMapIterate.forEachKeyValue(Map<K, V> map, Procedure2<? super K, ? super V> procedure, Executor executor) A parallel form of forEachKeyValue. -
Uses of Procedure2 in org.eclipse.collections.impl.set.mutable
Methods in org.eclipse.collections.impl.set.mutable with parameters of type Procedure2Modifier and TypeMethodDescription<P> voidUnifiedSet.forEachWith(Procedure2<? super T, ? super P> procedure, P parameter) -
Uses of Procedure2 in org.eclipse.collections.impl.set.strategy.mutable
Methods in org.eclipse.collections.impl.set.strategy.mutable with parameters of type Procedure2Modifier and TypeMethodDescription<P> voidUnifiedSetWithHashingStrategy.forEachWith(Procedure2<? super T, ? super P> procedure, P parameter) -
Uses of Procedure2 in org.eclipse.collections.impl.stack.mutable
Methods in org.eclipse.collections.impl.stack.mutable with parameters of type Procedure2Modifier and TypeMethodDescription<K,V> MutableMap <K, V> SynchronizedStack.aggregateInPlaceBy(Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V, ? super T> mutatingAggregator) <P> voidArrayStack.forEachWith(Procedure2<? super T, ? super P> procedure, P parameter) <P> voidSynchronizedStack.forEachWith(Procedure2<? super T, ? super P> procedure, P parameter) <P> voidUnmodifiableStack.forEachWith(Procedure2<? super T, ? super P> procedure, P parameter) -
Uses of Procedure2 in org.eclipse.collections.impl.utility
Methods in org.eclipse.collections.impl.utility with parameters of type Procedure2Modifier and TypeMethodDescriptionstatic <T,K, V> MutableMap <K, V> ArrayListIterate.aggregateInPlaceBy(ArrayList<T> list, Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V, ? super T> mutatingAggregator) static <T,K, V> MutableMap <K, V> Iterate.aggregateInPlaceBy(Iterable<T> iterable, Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V, ? super T> mutatingAggregator) static <T1,T2> void ArrayIterate.forEachInBoth(T1[] objectArray1, T2[] objectArray2, Procedure2<? super T1, ? super T2> procedure) static <T1,T2> void ArrayListIterate.forEachInBoth(ArrayList<T1> list1, ArrayList<T2> list2, Procedure2<? super T1, ? super T2> procedure) static <T1,T2> void ListIterate.forEachInBoth(List<T1> list1, List<T2> list2, Procedure2<? super T1, ? super T2> procedure) Iterates over both lists together, evaluating Procedure2 with the current element from each list.static <K,V> void MapIterate.forEachKeyValue(Map<K, V> map, Procedure2<? super K, ? super V> procedure) For each entry of the map,procedureis evaluated with the element as the parameter.static <T,P> void ArrayIterate.forEachWith(T[] objectArray, Procedure2<? super T, ? super P> procedure, P parameter) static <T,P> void ArrayListIterate.forEachWith(ArrayList<T> list, Procedure2<? super T, ? super P> procedure, P parameter) static <T,P> void Iterate.forEachWith(Iterable<T> iterable, Procedure2<? super T, ? super P> procedure, P parameter) The procedure2 is evaluated for each element of the iterable with the specified parameter passed as the second argument.static <T,P> void ListIterate.forEachWith(List<T> list, Procedure2<? super T, ? super P> procedure, P parameter) -
Uses of Procedure2 in org.eclipse.collections.impl.utility.internal
Methods in org.eclipse.collections.impl.utility.internal with parameters of type Procedure2Modifier and TypeMethodDescriptionstatic <T,K, V> MutableMap <K, V> IteratorIterate.aggregateBy(Iterator<T> iterator, Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V, ? super T> mutatingAggregator) static <T,K, V> MutableMap <K, V> IterableIterate.aggregateInPlaceBy(Iterable<T> iterable, Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V, ? super T> mutatingAggregator) static <T,K, V> MutableMap <K, V> RandomAccessListIterate.aggregateInPlaceBy(List<T> list, Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V, ? super T> mutatingAggregator) static <T1,T2> void RandomAccessListIterate.forEachInBoth(List<T1> list1, List<T2> list2, Procedure2<? super T1, ? super T2> procedure) For each element in both of the Lists, operation is evaluated with both elements as parameters.static <T,P> void IterableIterate.forEachWith(Iterable<T> iterable, Procedure2<? super T, ? super P> procedure, P parameter) static <T,P> void IteratorIterate.forEachWith(Iterator<T> iterator, Procedure2<? super T, ? super P> procedure, P parameter) static <T,P> void RandomAccessListIterate.forEachWith(List<T> list, Procedure2<? super T, ? super P> procedure, P parameter)