Uses of Interface
org.eclipse.collections.api.block.procedure.Procedure2
Package | Description |
---|---|
org.eclipse.collections.api |
This package contains interfaces for Eclipse Collections API.
|
org.eclipse.collections.api.collection | |
org.eclipse.collections.api.list |
This package contains interfaces for list API which enhance the performance and functionality of
List . |
org.eclipse.collections.api.map |
This package contains interfaces for map API which enhance the performance and functionality of
Map |
org.eclipse.collections.api.map.primitive |
This package contains API for primitive to primitive maps, primitive to object maps and object to primitive maps with mutable and immutable variants.
|
org.eclipse.collections.api.map.sorted |
This package contains mutable and immutable sorted map interfaces.
|
org.eclipse.collections.api.multimap |
This package contains interfaces for
Multimap . |
org.eclipse.collections.api.stack |
This package contains interfaces for stack API.
|
org.eclipse.collections.impl |
This package contains implementations for Eclipse Collections API.
|
org.eclipse.collections.impl.bag.immutable |
This package contains implementations of the
ImmutableBag interface. |
org.eclipse.collections.impl.bag.mutable |
This package contains implementations of the
MutableBag interface. |
org.eclipse.collections.impl.bag.sorted.mutable |
This package contains implementations of
MutableSortedBag . |
org.eclipse.collections.impl.bimap | |
org.eclipse.collections.impl.bimap.immutable | |
org.eclipse.collections.impl.bimap.mutable |
This package contains implementations of the
MutableBiMap interface. |
org.eclipse.collections.impl.block.factory |
This package contains factory implementations for
Function , Predicate , SerializableComparator and Procedure . |
org.eclipse.collections.impl.block.procedure |
This package contains implementations of
Procedure and Procedure2 . |
org.eclipse.collections.impl.block.procedure.checked |
This package contains abstract implementations of
Procedure and Procedure2 . |
org.eclipse.collections.impl.collection | |
org.eclipse.collections.impl.collection.immutable |
This package contains implementations of the
ImmutableCollection interface. |
org.eclipse.collections.impl.collection.mutable |
This package contains implementations of the
MutableCollection interface. |
org.eclipse.collections.impl.forkjoin |
This package contains implementations which has several parallel algorithms that work with Collections and make use of Java's fork-join
framework.
|
org.eclipse.collections.impl.lazy |
This package contains implementations of the
LazyIterable interface. |
org.eclipse.collections.impl.lazy.parallel | |
org.eclipse.collections.impl.lazy.primitive |
This package contains implementations of the lazy primitive iterator interfaces.
|
org.eclipse.collections.impl.list |
This package contains implementations of the
ListIterable interface. |
org.eclipse.collections.impl.list.fixed |
This package contains implementations of the
FixedSizeList interface. |
org.eclipse.collections.impl.list.mutable |
This package contains implementations of the
MutableList interface. |
org.eclipse.collections.impl.map |
This package contains implementations of the
MapIterable interface. |
org.eclipse.collections.impl.map.immutable |
This package contains implementations of the
ImmutableMap interface. |
org.eclipse.collections.impl.map.mutable |
This package contains implementations of the
MutableMap interface. |
org.eclipse.collections.impl.map.mutable.primitive |
This package contains implementations of the mutable primitive-primitive, primitive-object and object-primitive map interfaces.
|
org.eclipse.collections.impl.map.ordered.mutable | |
org.eclipse.collections.impl.map.sorted.immutable |
This package contains implementations of the
MutableSortedMap interface. |
org.eclipse.collections.impl.map.sorted.mutable |
This package contains implementations of the
MutableSortedMap interface. |
org.eclipse.collections.impl.map.strategy.immutable |
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. |
org.eclipse.collections.impl.map.strategy.mutable |
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. |
org.eclipse.collections.impl.multimap |
This package contains implementations of the
Multimap interface. |
org.eclipse.collections.impl.parallel |
This package contains classes which is used for parallel iteration through the containers.
|
org.eclipse.collections.impl.set.mutable |
This package package contains implementations of
MutableSet . |
org.eclipse.collections.impl.set.strategy.mutable |
This package contains implementations of sets with user defined
HashingStrategy s. |
org.eclipse.collections.impl.stack.mutable |
This package contains implementations of the
MutableStack interface. |
org.eclipse.collections.impl.utility |
This package contains static utilities that provide iteration pattern implementations which work with JCF collections.
|
org.eclipse.collections.impl.utility.internal |
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 Procedure2 Modifier and Type Method Description <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.collection
Methods in org.eclipse.collections.api.collection with parameters of type Procedure2 Modifier and Type Method Description default <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 Procedure2 Modifier and Type Method Description default <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
Methods in org.eclipse.collections.api.map with parameters of type Procedure2 Modifier and Type Method Description default <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
Methods in org.eclipse.collections.api.map.primitive with parameters of type Procedure2 Modifier and Type Method Description default <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 Procedure2 Modifier and Type Method Description default <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 Procedure2 Modifier and Type Method Description void
Multimap. forEachKeyMultiValues(Procedure2<? super K,? super Iterable<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.stack
Methods in org.eclipse.collections.api.stack with parameters of type Procedure2 Modifier and Type Method Description default <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 Procedure2 Modifier and Type Method Description <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.immutable
Methods in org.eclipse.collections.impl.bag.immutable with parameters of type Procedure2 Modifier and Type Method Description <K, V> ImmutableMap<K,V>
AbstractImmutableBagIterable. 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.bag.mutable
Methods in org.eclipse.collections.impl.bag.mutable with parameters of type Procedure2 Modifier and Type Method Description <K, V> MutableMap<K,V>
AbstractMutableBagIterable. aggregateInPlaceBy(Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V,? super T> mutatingAggregator)
<P> void
AbstractHashBag. 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 Procedure2 Modifier and Type Method Description <P> void
TreeBag. 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 Procedure2 Modifier and Type Method Description void
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
Methods in org.eclipse.collections.impl.bimap.immutable with parameters of type Procedure2 Modifier and Type Method Description <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 Procedure2 Modifier and Type Method Description <K, V1> MutableMap<K,V1>
UnmodifiableBiMap. aggregateInPlaceBy(Function<? super V,? extends K> groupBy, Function0<? extends V1> zeroValueFactory, Procedure2<? super V1,? super V> mutatingAggregator)
void
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
Fields in org.eclipse.collections.impl.block.factory declared as Procedure2 Modifier and Type Field Description static Procedure2<?,?>
Procedures2. ADD_TO_COLLECTION
static Procedure2<?,?>
Procedures2. REMOVE_FROM_COLLECTION
Methods in org.eclipse.collections.impl.block.factory that return Procedure2 Modifier and Type Method Description static <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 an 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 Procedure2 Modifier and Type Method Description 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 an 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 Procedure2 Modifier and Type Class Description 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 anotherConstructors in org.eclipse.collections.impl.block.procedure with parameters of type Procedure2 Constructor Description IfProcedureWith(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 Modifier and Type Class Description class
CheckedProcedure2<T,P>
class
MultimapKeyValuesSerializingProcedure<K,V>
-
Uses of Procedure2 in org.eclipse.collections.impl.collection
Methods in org.eclipse.collections.impl.collection with parameters of type Procedure2 Modifier and Type Method Description <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.immutable
Methods in org.eclipse.collections.impl.collection.immutable with parameters of type Procedure2 Modifier and Type Method Description <K, V> ImmutableMap<K,V>
AbstractImmutableCollection. 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.collection.mutable
Methods in org.eclipse.collections.impl.collection.mutable with parameters of type Procedure2 Modifier and Type Method Description <K, V> MutableMap<K,V>
AbstractCollectionAdapter. aggregateInPlaceBy(Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V,? super T> mutatingAggregator)
<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>
AbstractMutableCollection. 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)
<K, V> MutableMap<K,V>
AbstractUnmodifiableMutableCollection. 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
Methods in org.eclipse.collections.impl.forkjoin with parameters of type Procedure2 Modifier and Type Method Description 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)
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 Procedure2 Modifier and Type Method Description <K, V> MapIterable<K,V>
AbstractLazyIterable. aggregateInPlaceBy(Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V,? super T> mutatingAggregator)
<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
Methods in org.eclipse.collections.impl.lazy.parallel with parameters of type Procedure2 Modifier and Type Method Description <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
Methods in org.eclipse.collections.impl.lazy.primitive with parameters of type Procedure2 Modifier and Type Method Description <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
Methods in org.eclipse.collections.impl.list with parameters of type Procedure2 Modifier and Type Method Description <P> void
Interval. 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 Procedure2 Modifier and Type Method Description <P> void
AbstractArrayAdapter. 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 Procedure2 Modifier and Type Method Description <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
Methods in org.eclipse.collections.impl.map with parameters of type Procedure2 Modifier and Type Method Description <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
Methods in org.eclipse.collections.impl.map.immutable with parameters of type Procedure2 Modifier and Type Method Description <K2, V2> ImmutableMap<K2,V2>
AbstractImmutableMap. aggregateInPlaceBy(Function<? super V,? extends K2> groupBy, Function0<? extends V2> zeroValueFactory, Procedure2<? super V2,? super V> mutatingAggregator)
void
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
Methods in org.eclipse.collections.impl.map.mutable with parameters of type Procedure2 Modifier and Type Method Description <K2, V2> MutableMap<K2,V2>
AbstractMutableMapIterable. aggregateInPlaceBy(Function<? super V,? extends K2> groupBy, Function0<? extends V2> zeroValueFactory, Procedure2<? super V2,? super V> mutatingAggregator)
<K2, V2> MutableMap<K2,V2>
UnmodifiableMutableMap. aggregateInPlaceBy(Function<? super V,? extends K2> groupBy, Function0<? extends V2> zeroValueFactory, Procedure2<? super V2,? super V> mutatingAggregator)
void
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)
Method parameters in org.eclipse.collections.impl.map.mutable with type arguments of type Procedure2 Modifier and Type Method Description void
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
Methods in org.eclipse.collections.impl.map.mutable.primitive with parameters of type Procedure2 Modifier and Type Method Description <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
Methods in org.eclipse.collections.impl.map.ordered.mutable with parameters of type Procedure2 Modifier and Type Method Description <K2, V2> MutableMap<K2,V2>
OrderedMapAdapter. aggregateInPlaceBy(Function<? super V,? extends K2> groupBy, Function0<? extends V2> zeroValueFactory, Procedure2<? super V2,? super V> mutatingAggregator)
<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
Methods in org.eclipse.collections.impl.map.sorted.immutable with parameters of type Procedure2 Modifier and Type Method Description <K2, V2> ImmutableMap<K2,V2>
AbstractImmutableSortedMap. aggregateInPlaceBy(Function<? super V,? extends K2> groupBy, Function0<? extends V2> zeroValueFactory, Procedure2<? super V2,? super V> mutatingAggregator)
void
ImmutableTreeMap. 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 Procedure2 Modifier and Type Method Description <K2, V2> MutableMap<K2,V2>
UnmodifiableTreeMap. aggregateInPlaceBy(Function<? super V,? extends K2> groupBy, Function0<? extends V2> zeroValueFactory, Procedure2<? super V2,? super V> mutatingAggregator)
void
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
Methods in org.eclipse.collections.impl.map.strategy.immutable with parameters of type Procedure2 Modifier and Type Method Description void
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
Methods in org.eclipse.collections.impl.map.strategy.mutable with parameters of type Procedure2 Modifier and Type Method Description void
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
Methods in org.eclipse.collections.impl.multimap with parameters of type Procedure2 Modifier and Type Method Description void
AbstractMultimap. forEachKeyMultiValues(Procedure2<? super K,? super Iterable<V>> procedure)
void
AbstractSynchronizedMultimap. forEachKeyMultiValues(Procedure2<? super K,? super Iterable<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.parallel
Methods in org.eclipse.collections.impl.parallel with parameters of type Procedure2 Modifier and Type Method Description 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)
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 Procedure2 Modifier and Type Method Description <P> void
UnifiedSet. 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 Procedure2 Modifier and Type Method Description <P> void
UnifiedSetWithHashingStrategy. 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 Procedure2 Modifier and Type Method Description <K, V> MutableMap<K,V>
ArrayStack. aggregateInPlaceBy(Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V,? super T> mutatingAggregator)
<K, V> MutableMap<K,V>
SynchronizedStack. aggregateInPlaceBy(Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V,? super T> mutatingAggregator)
<K, V> MutableMap<K,V>
UnmodifiableStack. 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
Methods in org.eclipse.collections.impl.utility with parameters of type Procedure2 Modifier and Type Method Description static <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
Methods in org.eclipse.collections.impl.utility.internal with parameters of type Procedure2 Modifier and Type Method Description static <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)