Uses of Interface
org.eclipse.collections.api.block.procedure.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
Map
This 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
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 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
HashingStrategy
s.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
Modifier 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> void
InternalIterable.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> void
ParallelIterable.forEachWith
(Procedure2<? super T, ? super P> procedure, P parameter) -
Uses of Procedure2 in org.eclipse.collections.api.bimap
Modifier 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
Modifier 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
Modifier and TypeMethodDescriptiondefault <T2> void
ListIterable.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
Modifier 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> MutableMap<KK, VV> MutableMapIterable.aggregateInPlaceBy
(Function<? super V, ? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) void
MapIterable.forEachKeyValue
(Procedure2<? super K, ? super V> procedure) Calls theprocedure
with each key-value pair of the map. -
Uses of Procedure2 in org.eclipse.collections.api.map.primitive
Modifier 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
Modifier 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
Modifier and TypeMethodDescriptionvoid
Multimap.forEachKeyMultiValues
(Procedure2<? super K, ? super RichIterable<V>> procedure) Calls theprocedure
with each key-Iterable[value].void
Multimap.forEachKeyValue
(Procedure2<? super K, ? super V> procedure) Calls theprocedure
with each key-value pair. -
Uses of Procedure2 in org.eclipse.collections.api.multimap.bag
Modifier and TypeMethodDescriptionvoid
ImmutableBagMultimap.forEachKeyImmutableBag
(Procedure2<? super K, ? super ImmutableBag<V>> procedure) void
MutableBagMultimap.forEachKeyMutableBag
(Procedure2<? super K, ? super MutableBag<V>> procedure) -
Uses of Procedure2 in org.eclipse.collections.api.multimap.list
Modifier and TypeMethodDescriptionvoid
ImmutableListMultimap.forEachKeyImmutableList
(Procedure2<? super K, ? super ImmutableList<V>> procedure) void
MutableListMultimap.forEachKeyMutableList
(Procedure2<? super K, ? super MutableList<V>> procedure) -
Uses of Procedure2 in org.eclipse.collections.api.multimap.set
Modifier and TypeMethodDescriptionvoid
ImmutableSetMultimap.forEachKeyImmutableSet
(Procedure2<? super K, ? super ImmutableSet<V>> procedure) void
MutableSetMultimap.forEachKeyMutableSet
(Procedure2<? super K, ? super MutableSet<V>> procedure) -
Uses of Procedure2 in org.eclipse.collections.api.stack
Modifier 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
Modifier 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> void
AbstractRichIterable.forEachWith
(Procedure2<? super T, ? super P> procedure, P parameter) <P> void
UnmodifiableRichIterable.forEachWith
(Procedure2<? super T, ? super P> procedure, P parameter) -
Uses of Procedure2 in org.eclipse.collections.impl.bag.mutable
Modifier and TypeMethodDescription<P> void
AbstractHashBag.forEachWith
(Procedure2<? super T, ? super P> procedure, P parameter) -
Uses of Procedure2 in org.eclipse.collections.impl.bag.sorted.mutable
Modifier and TypeMethodDescription<P> void
TreeBag.forEachWith
(Procedure2<? super T, ? super P> procedure, P parameter) -
Uses of Procedure2 in org.eclipse.collections.impl.bimap
Modifier and TypeMethodDescriptionvoid
AbstractBiMap.forEachKeyValue
(Procedure2<? super K, ? super V> procedure) <P> void
AbstractBiMap.forEachWith
(Procedure2<? super V, ? super P> procedure, P parameter) -
Uses of Procedure2 in org.eclipse.collections.impl.bimap.immutable
Modifier 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
Modifier and TypeMethodDescriptionvoid
UnmodifiableBiMap.forEachKeyValue
(Procedure2<? super K, ? super V> procedure) <P> void
UnmodifiableBiMap.forEachWith
(Procedure2<? super V, ? super P> procedure, P parameter) -
Uses of Procedure2 in org.eclipse.collections.impl.block.factory
Modifier and TypeFieldDescriptionstatic final Procedure2<?,
?> Procedures2.ADD_TO_COLLECTION
static final Procedure2<?,
?> Procedures2.REMOVE_FROM_COLLECTION
Modifier 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.Modifier 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
Modifier and TypeClassDescriptionfinal class
IfProcedureWith<T,
P> A conditional parameterized two argument procedure that effectively filters which objects should be usedclass
MapPutProcedure<K,
V> Transfers keys and values from one map to anotherModifierConstructorDescriptionIfProcedureWith
(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
-
Uses of Procedure2 in org.eclipse.collections.impl.collection
Modifier 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> void
AbstractSynchronizedRichIterable.forEachWith
(Procedure2<? super T, ? super P> procedure, P parameter) -
Uses of Procedure2 in org.eclipse.collections.impl.collection.mutable
Modifier 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> void
AbstractCollectionAdapter.forEachWith
(Procedure2<? super T, ? super P> procedure, P parameter) <P> void
AbstractMultiReaderMutableCollection.forEachWith
(Procedure2<? super T, ? super P> procedure, P parameter) <P> void
AbstractUnmodifiableMutableCollection.forEachWith
(Procedure2<? super T, ? super P> procedure, P parameter) -
Uses of Procedure2 in org.eclipse.collections.impl.forkjoin
Modifier 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
Modifier and TypeMethodDescription<P> void
CollectIterable.forEachWith
(Procedure2<? super V, ? super P> procedure, P parameter) <P> void
CompositeIterable.forEachWith
(Procedure2<? super E, ? super P> procedure, P parameter) <P> void
DropIterable.forEachWith
(Procedure2<? super T, ? super P> procedure, P parameter) <P> void
DropWhileIterable.forEachWith
(Procedure2<? super T, ? super P> procedure, P parameter) <P> void
FlatCollectIterable.forEachWith
(Procedure2<? super V, ? super P> procedure, P parameter) <P> void
LazyIterableAdapter.forEachWith
(Procedure2<? super T, ? super P> procedure, P parameter) <P> void
RejectIterable.forEachWith
(Procedure2<? super T, ? super P> procedure, P parameter) <P> void
ReverseIterable.forEachWith
(Procedure2<? super T, ? super P> procedure, P parameter) <P> void
SelectInstancesOfIterable.forEachWith
(Procedure2<? super T, ? super P> procedure, P parameter) <P> void
SelectIterable.forEachWith
(Procedure2<? super T, ? super P> procedure, P parameter) <P> void
TakeIterable.forEachWith
(Procedure2<? super T, ? super P> procedure, P parameter) <P> void
TakeWhileIterable.forEachWith
(Procedure2<? super T, ? super P> procedure, P parameter) <P> void
TapIterable.forEachWith
(Procedure2<? super T, ? super P> procedure, P parameter) -
Uses of Procedure2 in org.eclipse.collections.impl.lazy.parallel
Modifier 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) <P> void
AbstractMultiReaderParallelIterable.forEachWith
(Procedure2<? super T, ? super P> procedure, P parameter) <P> void
AbstractParallelIterable.forEachWith
(Procedure2<? super T, ? super P> procedure, P parameter) <P> void
AbstractSynchronizedParallelIterable.forEachWith
(Procedure2<? super T, ? super P> procedure, P parameter) <P> void
NonParallelIterable.forEachWith
(Procedure2<? super T, ? super P> procedure, P parameter) -
Uses of Procedure2 in org.eclipse.collections.impl.lazy.primitive
Modifier and TypeMethodDescription<P> void
CollectBooleanToObjectIterable.forEachWith
(Procedure2<? super V, ? super P> procedure, P parameter) <P> void
CollectByteToObjectIterable.forEachWith
(Procedure2<? super V, ? super P> procedure, P parameter) <P> void
CollectCharToObjectIterable.forEachWith
(Procedure2<? super V, ? super P> procedure, P parameter) <P> void
CollectDoubleToObjectIterable.forEachWith
(Procedure2<? super V, ? super P> procedure, P parameter) <P> void
CollectFloatToObjectIterable.forEachWith
(Procedure2<? super V, ? super P> procedure, P parameter) <P> void
CollectIntToObjectIterable.forEachWith
(Procedure2<? super V, ? super P> procedure, P parameter) <P> void
CollectLongToObjectIterable.forEachWith
(Procedure2<? super V, ? super P> procedure, P parameter) <P> void
CollectShortToObjectIterable.forEachWith
(Procedure2<? super V, ? super P> procedure, P parameter) <P> void
FlatCollectBooleanToObjectIterable.forEachWith
(Procedure2<? super V, ? super P> procedure, P parameter) <P> void
FlatCollectByteToObjectIterable.forEachWith
(Procedure2<? super V, ? super P> procedure, P parameter) <P> void
FlatCollectCharToObjectIterable.forEachWith
(Procedure2<? super V, ? super P> procedure, P parameter) <P> void
FlatCollectDoubleToObjectIterable.forEachWith
(Procedure2<? super V, ? super P> procedure, P parameter) <P> void
FlatCollectFloatToObjectIterable.forEachWith
(Procedure2<? super V, ? super P> procedure, P parameter) <P> void
FlatCollectIntToObjectIterable.forEachWith
(Procedure2<? super V, ? super P> procedure, P parameter) <P> void
FlatCollectLongToObjectIterable.forEachWith
(Procedure2<? super V, ? super P> procedure, P parameter) <P> void
FlatCollectShortToObjectIterable.forEachWith
(Procedure2<? super V, ? super P> procedure, P parameter) -
Uses of Procedure2 in org.eclipse.collections.impl.list
Modifier and TypeMethodDescription<P> void
Interval.forEachWith
(Procedure2<? super Integer, ? super P> procedure, P parameter) -
Uses of Procedure2 in org.eclipse.collections.impl.list.fixed
Modifier and TypeMethodDescription<P> void
AbstractArrayAdapter.forEachWith
(Procedure2<? super T, ? super P> procedure, P parameter) -
Uses of Procedure2 in org.eclipse.collections.impl.list.mutable
Modifier and TypeMethodDescription<T2> void
MultiReaderFastList.forEachInBoth
(ListIterable<T2> other, Procedure2<? super T, ? super T2> procedure) <T2> void
SynchronizedMutableList.forEachInBoth
(ListIterable<T2> other, Procedure2<? super T, ? super T2> procedure) <P> void
AbstractMutableList.forEachWith
(Procedure2<? super T, ? super P> procedure, P parameter) <P> void
CompositeFastList.forEachWith
(Procedure2<? super E, ? super P> procedure2, P parameter) <P> void
FastList.forEachWith
(Procedure2<? super T, ? super P> procedure, P parameter) -
Uses of Procedure2 in org.eclipse.collections.impl.map
Modifier and TypeMethodDescription<KK,
VV> MutableMap<KK, VV> AbstractSynchronizedMapIterable.aggregateInPlaceBy
(Function<? super V, ? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) void
AbstractSynchronizedMapIterable.forEachKeyValue
(Procedure2<? super K, ? super V> procedure2) <P> void
AbstractMapIterable.forEachWith
(Procedure2<? super V, ? super P> procedure2, P parameter) -
Uses of Procedure2 in org.eclipse.collections.impl.map.immutable
Modifier and TypeMethodDescriptionvoid
ImmutableUnifiedMap.forEachKeyValue
(Procedure2<? super K, ? super V> procedure) <P> void
ImmutableUnifiedMap.forEachWith
(Procedure2<? super V, ? super P> procedure, P parameter) -
Uses of Procedure2 in org.eclipse.collections.impl.map.mutable
Modifier and TypeMethodDescriptionvoid
ConcurrentHashMap.forEachKeyValue
(Procedure2<? super K, ? super V> procedure) void
ConcurrentHashMapUnsafe.forEachKeyValue
(Procedure2<? super K, ? super V> procedure) void
ConcurrentMutableHashMap.forEachKeyValue
(Procedure2<? super K, ? super V> procedure) Deprecated.void
MapAdapter.forEachKeyValue
(Procedure2<? super K, ? super V> procedure) void
UnifiedMap.forEachKeyValue
(Procedure2<? super K, ? super V> procedure) void
UnmodifiableMutableMap.forEachKeyValue
(Procedure2<? super K, ? super V> procedure) <P> void
ConcurrentHashMap.forEachWith
(Procedure2<? super V, ? super P> procedure, P parameter) <P> void
ConcurrentHashMapUnsafe.forEachWith
(Procedure2<? super V, ? super P> procedure, P parameter) <P> void
ConcurrentMutableHashMap.forEachWith
(Procedure2<? super V, ? super P> procedure, P parameter) Deprecated.<P> void
UnifiedMap.forEachWith
(Procedure2<? super V, ? super P> procedure, P parameter) <P> void
UnmodifiableMutableMap.forEachWith
(Procedure2<? super V, ? super P> procedure, P parameter) Modifier and TypeMethodDescriptionvoid
ConcurrentHashMap.parallelForEachKeyValue
(List<Procedure2<K, V>> blocks, Executor executor) void
ConcurrentHashMapUnsafe.parallelForEachKeyValue
(List<Procedure2<K, V>> blocks, Executor executor) -
Uses of Procedure2 in org.eclipse.collections.impl.map.mutable.primitive
Modifier 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> void
ByteObjectHashMap.forEachWith
(Procedure2<? super V, ? super P> procedure, P parameter) <P> void
CharObjectHashMap.forEachWith
(Procedure2<? super V, ? super P> procedure, P parameter) <P> void
DoubleObjectHashMap.forEachWith
(Procedure2<? super V, ? super P> procedure, P parameter) <P> void
FloatObjectHashMap.forEachWith
(Procedure2<? super V, ? super P> procedure, P parameter) <P> void
IntObjectHashMap.forEachWith
(Procedure2<? super V, ? super P> procedure, P parameter) <P> void
LongObjectHashMap.forEachWith
(Procedure2<? super V, ? super P> procedure, P parameter) <P> void
ShortObjectHashMap.forEachWith
(Procedure2<? super V, ? super P> procedure, P parameter) <P> void
SynchronizedByteObjectMap.forEachWith
(Procedure2<? super V, ? super P> procedure, P parameter) <P> void
SynchronizedCharObjectMap.forEachWith
(Procedure2<? super V, ? super P> procedure, P parameter) <P> void
SynchronizedDoubleObjectMap.forEachWith
(Procedure2<? super V, ? super P> procedure, P parameter) <P> void
SynchronizedFloatObjectMap.forEachWith
(Procedure2<? super V, ? super P> procedure, P parameter) <P> void
SynchronizedIntObjectMap.forEachWith
(Procedure2<? super V, ? super P> procedure, P parameter) <P> void
SynchronizedLongObjectMap.forEachWith
(Procedure2<? super V, ? super P> procedure, P parameter) <P> void
SynchronizedShortObjectMap.forEachWith
(Procedure2<? super V, ? super P> procedure, P parameter) <P> void
UnmodifiableByteObjectMap.forEachWith
(Procedure2<? super V, ? super P> procedure, P parameter) <P> void
UnmodifiableCharObjectMap.forEachWith
(Procedure2<? super V, ? super P> procedure, P parameter) <P> void
UnmodifiableDoubleObjectMap.forEachWith
(Procedure2<? super V, ? super P> procedure, P parameter) <P> void
UnmodifiableFloatObjectMap.forEachWith
(Procedure2<? super V, ? super P> procedure, P parameter) <P> void
UnmodifiableIntObjectMap.forEachWith
(Procedure2<? super V, ? super P> procedure, P parameter) <P> void
UnmodifiableLongObjectMap.forEachWith
(Procedure2<? super V, ? super P> procedure, P parameter) <P> void
UnmodifiableShortObjectMap.forEachWith
(Procedure2<? super V, ? super P> procedure, P parameter) -
Uses of Procedure2 in org.eclipse.collections.impl.map.ordered.mutable
Modifier and TypeMethodDescription<KK,
VV> MutableMap<KK, VV> UnmodifiableMutableOrderedMap.aggregateInPlaceBy
(Function<? super V, ? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) void
OrderedMapAdapter.forEachKeyValue
(Procedure2<? super K, ? super V> procedure) void
UnmodifiableMutableOrderedMap.forEachKeyValue
(Procedure2<? super K, ? super V> procedure) <P> void
UnmodifiableMutableOrderedMap.forEachWith
(Procedure2<? super V, ? super P> procedure, P parameter) -
Uses of Procedure2 in org.eclipse.collections.impl.map.sorted.immutable
Modifier and TypeMethodDescriptionvoid
ImmutableTreeMap.forEachKeyValue
(Procedure2<? super K, ? super V> procedure) -
Uses of Procedure2 in org.eclipse.collections.impl.map.sorted.mutable
Modifier and TypeMethodDescriptionvoid
SortedMapAdapter.forEachKeyValue
(Procedure2<? super K, ? super V> procedure) void
TreeSortedMap.forEachKeyValue
(Procedure2<? super K, ? super V> procedure2) void
UnmodifiableTreeMap.forEachKeyValue
(Procedure2<? super K, ? super V> procedure) <P> void
UnmodifiableTreeMap.forEachWith
(Procedure2<? super V, ? super P> procedure, P parameter) -
Uses of Procedure2 in org.eclipse.collections.impl.map.strategy.immutable
Modifier and TypeMethodDescriptionvoid
ImmutableUnifiedMapWithHashingStrategy.forEachKeyValue
(Procedure2<? super K, ? super V> procedure) <P> void
ImmutableUnifiedMapWithHashingStrategy.forEachWith
(Procedure2<? super V, ? super P> procedure, P parameter) -
Uses of Procedure2 in org.eclipse.collections.impl.map.strategy.mutable
Modifier and TypeMethodDescriptionvoid
UnifiedMapWithHashingStrategy.forEachKeyValue
(Procedure2<? super K, ? super V> procedure) <P> void
UnifiedMapWithHashingStrategy.forEachWith
(Procedure2<? super V, ? super P> procedure, P parameter) -
Uses of Procedure2 in org.eclipse.collections.impl.multimap
Modifier and TypeMethodDescriptionvoid
AbstractMultimap.forEachKeyMultiValues
(Procedure2<? super K, ? super RichIterable<V>> procedure) void
AbstractSynchronizedMultimap.forEachKeyMultiValues
(Procedure2<? super K, ? super RichIterable<V>> procedure) void
AbstractMultimap.forEachKeyValue
(Procedure2<? super K, ? super V> procedure) void
AbstractSynchronizedMultimap.forEachKeyValue
(Procedure2<? super K, ? super V> procedure) -
Uses of Procedure2 in org.eclipse.collections.impl.multimap.bag
Modifier and TypeMethodDescriptionvoid
ImmutableBagMultimapImpl.forEachKeyImmutableBag
(Procedure2<? super K, ? super ImmutableBag<V>> procedure) void
AbstractMutableBagMultimap.forEachKeyMutableBag
(Procedure2<? super K, ? super MutableBag<V>> procedure) void
SynchronizedBagMultimap.forEachKeyMutableBag
(Procedure2<? super K, ? super MutableBag<V>> procedure) void
SynchronizedPutHashBagMultimap.forEachKeyMutableBag
(Procedure2<? super K, ? super MutableBag<V>> procedure) -
Uses of Procedure2 in org.eclipse.collections.impl.multimap.list
Modifier and TypeMethodDescriptionvoid
ImmutableListMultimapImpl.forEachKeyImmutableList
(Procedure2<? super K, ? super ImmutableList<V>> procedure) void
AbstractMutableListMultimap.forEachKeyMutableList
(Procedure2<? super K, ? super MutableList<V>> procedure) void
SynchronizedListMultimap.forEachKeyMutableList
(Procedure2<? super K, ? super MutableList<V>> procedure) void
SynchronizedPutFastListMultimap.forEachKeyMutableList
(Procedure2<? super K, ? super MutableList<V>> procedure) -
Uses of Procedure2 in org.eclipse.collections.impl.multimap.set
Modifier and TypeMethodDescriptionvoid
ImmutableSetMultimapImpl.forEachKeyImmutableSet
(Procedure2<? super K, ? super ImmutableSet<V>> procedure) void
AbstractMutableSetMultimap.forEachKeyMutableSet
(Procedure2<? super K, ? super MutableSet<V>> procedure) void
SynchronizedPutUnifiedSetMultimap.forEachKeyMutableSet
(Procedure2<? super K, ? super MutableSet<V>> procedure) void
SynchronizedSetMultimap.forEachKeyMutableSet
(Procedure2<? super K, ? super MutableSet<V>> procedure) -
Uses of Procedure2 in org.eclipse.collections.impl.parallel
Modifier 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
Modifier and TypeMethodDescription<P> void
UnifiedSet.forEachWith
(Procedure2<? super T, ? super P> procedure, P parameter) -
Uses of Procedure2 in org.eclipse.collections.impl.set.strategy.mutable
Modifier and TypeMethodDescription<P> void
UnifiedSetWithHashingStrategy.forEachWith
(Procedure2<? super T, ? super P> procedure, P parameter) -
Uses of Procedure2 in org.eclipse.collections.impl.stack.mutable
Modifier 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> void
ArrayStack.forEachWith
(Procedure2<? super T, ? super P> procedure, P parameter) <P> void
SynchronizedStack.forEachWith
(Procedure2<? super T, ? super P> procedure, P parameter) <P> void
UnmodifiableStack.forEachWith
(Procedure2<? super T, ? super P> procedure, P parameter) -
Uses of Procedure2 in org.eclipse.collections.impl.utility
Modifier 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,procedure
is 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
Modifier 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)