Uses of Interface
org.eclipse.collections.api.block.procedure.Procedure
Packages that use Procedure
Package
Description
This package contains interfaces for Eclipse Collections API.
This package contains interfaces for Bag API.
This package contains interfaces for SortedBag 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 set API which enhance the performance and functionality of
Set
.This package contains interfaces for sorted set API.
This package contains interfaces for stack API.
This package contains implementations for Eclipse Collections API.
This package contains implementations of the
ImmutableBag
interface.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 primitive procedures.
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
Iterator
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 classes which is used for parallel iteration through the containers.
This package contains implementations of the
PartitionStack
interface.This package contains the implementations of
ImmutableSet
.This package contains implementations of
MutableSet
.This package contains implementations of
MutableSortedSet
.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 Procedure in org.eclipse.collections.api
Methods in org.eclipse.collections.api with parameters of type ProcedureModifier and TypeMethodDescriptionvoid
The procedure is executed for each element in the iterable.void
The procedure is executed for each element in the iterable.void
default void
Creates a deferred tap iterable.Executes the Procedure for each element in the iterable and returnsthis
. -
Uses of Procedure in org.eclipse.collections.api.bag
Methods in org.eclipse.collections.api.bag with parameters of type ProcedureModifier and TypeMethodDescriptionvoid
MultiReaderBag.withReadLockAndDelegate
(Procedure<? super MutableBag<T>> procedure) void
MultiReaderBag.withWriteLockAndDelegate
(Procedure<? super MutableBag<T>> procedure) -
Uses of Procedure in org.eclipse.collections.api.bag.sorted
Methods in org.eclipse.collections.api.bag.sorted with parameters of type Procedure -
Uses of Procedure in org.eclipse.collections.api.bimap
Methods in org.eclipse.collections.api.bimap with parameters of type Procedure -
Uses of Procedure in org.eclipse.collections.api.collection
Methods in org.eclipse.collections.api.collection with parameters of type ProcedureModifier and TypeMethodDescription -
Uses of Procedure in org.eclipse.collections.api.list
Methods in org.eclipse.collections.api.list with parameters of type ProcedureModifier and TypeMethodDescriptiondefault MutableList<T>
void
MultiReaderList.withReadLockAndDelegate
(Procedure<? super MutableList<T>> procedure) void
MultiReaderList.withWriteLockAndDelegate
(Procedure<? super MutableList<T>> procedure) -
Uses of Procedure in org.eclipse.collections.api.map
Methods in org.eclipse.collections.api.map with parameters of type ProcedureModifier and TypeMethodDescriptionvoid
MapIterable.forEachKey
(Procedure<? super K> procedure) Calls theprocedure
with each key of the map.void
MapIterable.forEachValue
(Procedure<? super V> procedure) Calls the procedure with each value of the map.Executes the Procedure for each value of the map and returnsthis
.MutableMap<K,
V> OrderedMap<K,
V> -
Uses of Procedure in org.eclipse.collections.api.map.primitive
Methods in org.eclipse.collections.api.map.primitive with parameters of type ProcedureModifier and TypeMethodDescriptionvoid
ObjectBooleanMap.forEachKey
(Procedure<? super K> procedure) Iterates through each key in the map, invoking the procedure for each.void
ObjectByteMap.forEachKey
(Procedure<? super K> procedure) Iterates through each key in the map, invoking the procedure for each.void
ObjectCharMap.forEachKey
(Procedure<? super K> procedure) Iterates through each key in the map, invoking the procedure for each.void
ObjectDoubleMap.forEachKey
(Procedure<? super K> procedure) Iterates through each key in the map, invoking the procedure for each.void
ObjectFloatMap.forEachKey
(Procedure<? super K> procedure) Iterates through each key in the map, invoking the procedure for each.void
ObjectIntMap.forEachKey
(Procedure<? super K> procedure) Iterates through each key in the map, invoking the procedure for each.void
ObjectLongMap.forEachKey
(Procedure<? super K> procedure) Iterates through each key in the map, invoking the procedure for each.void
ObjectShortMap.forEachKey
(Procedure<? super K> procedure) Iterates through each key in the map, invoking the procedure for each.void
PrimitiveObjectMap.forEachValue
(Procedure<? super V> procedure) -
Uses of Procedure in org.eclipse.collections.api.map.sorted
Methods in org.eclipse.collections.api.map.sorted with parameters of type Procedure -
Uses of Procedure in org.eclipse.collections.api.multimap
Methods in org.eclipse.collections.api.multimap with parameters of type ProcedureModifier and TypeMethodDescriptionvoid
Multimap.forEachKey
(Procedure<? super K> procedure) Calls theprocedure
with each key.void
Multimap.forEachValue
(Procedure<? super V> procedure) Calls the procedure with each value. -
Uses of Procedure in org.eclipse.collections.api.ordered
Methods in org.eclipse.collections.api.ordered with parameters of type ProcedureModifier and TypeMethodDescriptionvoid
Iterates over the section of the iterable covered by the specified inclusive indexes.default void
ReversibleIterable.reverseForEach
(Procedure<? super T> procedure) Evaluates the procedure for each element of the list iterating in reverse order. -
Uses of Procedure in org.eclipse.collections.api.set
Methods in org.eclipse.collections.api.set with parameters of type ProcedureModifier and TypeMethodDescriptionvoid
MultiReaderSet.withReadLockAndDelegate
(Procedure<? super MutableSet<T>> procedure) void
MultiReaderSet.withWriteLockAndDelegate
(Procedure<? super MutableSet<T>> procedure) -
Uses of Procedure in org.eclipse.collections.api.set.sorted
Methods in org.eclipse.collections.api.set.sorted with parameters of type ProcedureModifier and TypeMethodDescription -
Uses of Procedure in org.eclipse.collections.api.stack
Methods in org.eclipse.collections.api.stack with parameters of type ProcedureModifier and TypeMethodDescription -
Uses of Procedure in org.eclipse.collections.impl
Methods in org.eclipse.collections.impl with parameters of type Procedure -
Uses of Procedure in org.eclipse.collections.impl.bag.immutable
Methods in org.eclipse.collections.impl.bag.immutable with parameters of type Procedure -
Uses of Procedure in org.eclipse.collections.impl.bag.mutable
Methods in org.eclipse.collections.impl.bag.mutable with parameters of type ProcedureModifier and TypeMethodDescriptionvoid
void
MultiReaderHashBag.withReadLockAndDelegate
(Procedure<? super MutableBag<T>> procedure) void
MultiReaderHashBag.withWriteLockAndDelegate
(Procedure<? super MutableBag<T>> procedure) -
Uses of Procedure in org.eclipse.collections.impl.bag.sorted.mutable
Methods in org.eclipse.collections.impl.bag.sorted.mutable with parameters of type ProcedureModifier and TypeMethodDescriptionvoid
void
void
void
void
SynchronizedSortedBag.reverseForEach
(Procedure<? super T> procedure) void
UnmodifiableSortedBag.reverseForEach
(Procedure<? super T> procedure) -
Uses of Procedure in org.eclipse.collections.impl.bimap
Methods in org.eclipse.collections.impl.bimap with parameters of type ProcedureModifier and TypeMethodDescriptionvoid
void
AbstractBiMap.forEachKey
(Procedure<? super K> procedure) void
AbstractBiMap.forEachValue
(Procedure<? super V> procedure) -
Uses of Procedure in org.eclipse.collections.impl.bimap.immutable
Methods in org.eclipse.collections.impl.bimap.immutable with parameters of type Procedure -
Uses of Procedure in org.eclipse.collections.impl.bimap.mutable
Methods in org.eclipse.collections.impl.bimap.mutable with parameters of type ProcedureModifier and TypeMethodDescriptionvoid
void
UnmodifiableBiMap.forEachKey
(Procedure<? super K> procedure) void
UnmodifiableBiMap.forEachValue
(Procedure<? super V> procedure) -
Uses of Procedure in org.eclipse.collections.impl.block.factory
Classes in org.eclipse.collections.impl.block.factory that implement ProcedureMethods in org.eclipse.collections.impl.block.factory that return ProcedureModifier and TypeMethodDescriptionstatic <T> Procedure<T>
Procedures.append
(Appendable appendable) static <T1,
T2> Procedure<T1> Bind the input of a Procedure to the result of a function, returning a new Procedure.static <T,
P> Procedure<T> Procedures.bind
(Procedure2<? super T, ? super P> procedure, P parameter) static <T> Procedure<T>
Allows a Java 8 lambda and method to be used in a forEach method without requiring a cast.static <T> Procedure<T>
Procedures.fromObjectIntProcedure
(ObjectIntProcedure<? super T> objectIntProcedure) static <T> Procedure<T>
Procedures.fromProcedureWithInt
(ObjectIntProcedure<? super T> objectIntProcedure) Deprecated.since 1.2 - Inlineablestatic <T> Procedure<T>
Procedures.ifElse
(Predicate<? super T> predicate, Procedure<? super T> trueProcedure, Procedure<? super T> falseProcedure) static <T> Procedure<T>
static <T> Procedure<T>
Procedures.noop()
static <T> Procedure<T>
Procedures.println
(PrintStream stream) static <T> Procedure<T>
Procedures.synchronizedEach
(Procedure<T> procedure) static <T> Procedure<T>
Procedures.throwing
(ThrowingProcedure<T> throwingProcedure) Allows a lambda or anonymous inner class that needs to throw a checked exception to be safely wrapped as a Procedure that will throw a RuntimeException, wrapping the checked exception that is the cause.static <T> Procedure<T>
Procedures.throwing
(ThrowingProcedure<T> throwingProcedure, Function2<T, ? 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 Procedure that will throw a user specified RuntimeException based on the provided function.Methods in org.eclipse.collections.impl.block.factory with parameters of type ProcedureModifier and TypeMethodDescriptionstatic <T1,
T2> Procedure<T1> Bind the input of a Procedure to the result of a function, returning a new Procedure.static <T> CaseProcedure<T>
Procedures.caseDefault
(Procedure<? super T> defaultProcedure) static <T> CaseProcedure<T>
Procedures.caseDefault
(Procedure<? super T> defaultProcedure, Predicate<? super T> predicate, Procedure<? super T> procedure) static <T> Procedure<T>
Allows a Java 8 lambda and method to be used in a forEach method without requiring a cast.static <T> ObjectIntProcedure<T>
ObjectIntProcedures.fromProcedure
(Procedure<? super T> procedure) static <T,
P> Procedure2<T, P> Procedures2.fromProcedure
(Procedure<? super T> procedure) static <T> Procedure<T>
Procedures.ifElse
(Predicate<? super T> predicate, Procedure<? super T> trueProcedure, Procedure<? super T> falseProcedure) static <T> Procedure<T>
static <T> Procedure<T>
Procedures.synchronizedEach
(Procedure<T> procedure) -
Uses of Procedure in org.eclipse.collections.impl.block.procedure
Classes in org.eclipse.collections.impl.block.procedure that implement ProcedureModifier and TypeClassDescriptionfinal class
class
class
Applies a predicate to an object and increments a count if it returns true.final class
BiMapCollectProcedure<T,
K, V> BiMapCollectProcedure uses a Function to calculate the key for an object and puts the object with the key into the specified BiMap.final class
CaseProcedure allows developers to create an object form of a case statement, which instead of being based on a single switch value is based on a list of predicate / procedure combinations.final class
ChainedProcedure allows a developer to chain together procedure to be executed in sequence.final class
CollectIfProcedure<T,
V> final class
CollectionAddProcedure adds elements to the specified collection when one of the block methods are called.final class
CollectionRemoveProcedure removes element from the specified collection when one of the procedure methods are called.final class
CollectProcedure<T,
V> Applies a function to an object and adds the result to a target collection.class
final class
CounterProcedure wraps a specified procedure and keeps track of the number of times it is executed.class
Applies a predicate to an object and increments a count if it returns true.final class
final class
Applies a function to an object and adds the result to a target fastList.final class
Applies a predicate to an object to determine if it should be added to a target fastList.final class
Applies a predicate to an object to determine if it should be added to a target fastList.final class
FlatCollectProcedure<T,
V> Applies a function to an object and adds the result to a target collection.class
final class
A conditional ObjectIntProcedure that effectively filters which objects should be usedfinal class
IfProcedure<T>
IfProcedure allows developers to evaluate the specified procedure only when either predicate returns true.class
InjectIntoProcedure<IV,
T> final class
MapCollectProcedure<T,
K, V> MapCollectProcedure uses a Function to calculate the key for an object and puts the object with the key into the specified Map.final class
MapEntryToProcedure2<K,
V> MapEntryToProcedure2 translates the result of calling entrySet() on a Map, which results in a collection of Map.Entry objects into corresponding Procedure2s.class
MaxByProcedure<T,
V extends Comparable<? super V>> class
Implementation ofProcedure
that holds on to the maximum element seen so far, determined by theComparator
.class
MaxProcedure<T>
class
MinByProcedure<T,
V extends Comparable<? super V>> class
Implementation ofProcedure
that holds on to the minimum element seen so far, determined by theComparator
class
MinProcedure<T>
final class
MultimapEachPutProcedure uses a Function to calculate the keys for an object and puts the object with each of the keys into the specifiedMutableMultimap
.class
MultimapKeyValuePutAllProcedure uses two Functions to calculate the key and values for an object and puts the key with all values into the specifiedMutableMultimap
.class
MultimapKeyValuePutProcedure<T,
K, V> MultimapKeyValuePutProcedure uses two Functions to calculate the key and value for an object and puts the key and value into the specifiedMutableMultimap
.final class
MultimapPutProcedure<K,
V> MultimapPutProcedure uses a Function to calculate the key for an object and puts the object with the key into the specifiedMutableMultimap
.final class
MutatingAggregationProcedure<T,
K, V> This procedure is used to apply an aggregate function like sum on a grouped set of data.final class
This procedure is used to apply an aggregate function like sum on a grouped set of data.class
class
final class
Applies a predicate to an object to determine if it should be added to a target collection.final class
CallsClass.isInstance(Object)
on an object to determine if it should be added to a target collection.final class
Applies a predicate to an object to determine if it should be added to a target collection.class
class
class
class
class
class
class
final class
ZipWithIndexProcedure<T,
R extends Collection<Pair<T, Integer>>> Creates a PairImpl of objects and their indexes and adds the result to a target collection.Methods in org.eclipse.collections.impl.block.procedure with parameters of type ProcedureModifier and TypeMethodDescriptionvoid
ChainedProcedure.addProcedure
(Procedure<? super T> procedure) CaseProcedure.setDefault
(Procedure<? super T> procedure) static <E> ChainedProcedure<E>
Constructors in org.eclipse.collections.impl.block.procedure with parameters of type ProcedureModifierConstructorDescriptionCaseProcedure
(Procedure<? super T> defaultProcedure) CounterProcedure
(Procedure<T> procedure) IfProcedure
(Predicate<? super T> predicate, Procedure<? super T> procedure) IfProcedure
(Predicate<? super T> predicate, Procedure<? super T> procedure, Procedure<? super T> elseProcedure) -
Uses of Procedure in org.eclipse.collections.impl.block.procedure.checked
Classes in org.eclipse.collections.impl.block.procedure.checked that implement Procedure -
Uses of Procedure in org.eclipse.collections.impl.block.procedure.primitive
Classes in org.eclipse.collections.impl.block.procedure.primitive that implement ProcedureModifier and TypeClassDescriptionfinal class
Applies a BooleanFunction to an object and adds the result to a target boolean collection.final class
Applies a ByteFunction to an object and adds the result to a target byte collection.final class
Applies a CharFunction to an object and adds the result to a target char collection.final class
Applies a DoubleFunction to an object and adds the result to a target double collection.final class
Applies a FloatFunction to an object and adds the result to a target float collection.final class
Applies a IntFunction to an object and adds the result to a target int collection.final class
Applies a LongFunction to an object and adds the result to a target long collection.final class
Applies a ShortFunction to an object and adds the result to a target short collection.class
class
class
class
-
Uses of Procedure in org.eclipse.collections.impl.collection
Methods in org.eclipse.collections.impl.collection with parameters of type Procedure -
Uses of Procedure in org.eclipse.collections.impl.collection.mutable
Methods in org.eclipse.collections.impl.collection.mutable with parameters of type ProcedureModifier and TypeMethodDescriptionvoid
void
void
-
Uses of Procedure in org.eclipse.collections.impl.collector
Classes in org.eclipse.collections.impl.collector that implement ProcedureModifier and TypeClassDescriptionclass
BigDecimalSummaryStatistics can be used to keep a rolling count, sum, min, max and average of BigDecimal values.class
BigIntegerSummaryStatistics can be used to keep a rolling count, sum, min, max and average of BigInteger values. -
Uses of Procedure in org.eclipse.collections.impl.forkjoin
Classes in org.eclipse.collections.impl.forkjoin with type parameters of type ProcedureModifier and TypeClassDescriptionclass
FJBatchIterableProcedureRunner<T,
PT extends Procedure<? super T>> class
FJBatchIterableProcedureTask<T,
PT extends Procedure<? super T>> class
FJListProcedureRunner<T,
PT extends Procedure<? super T>> class
FJListProcedureTask<T,
PT extends Procedure<? super T>> Methods in org.eclipse.collections.impl.forkjoin with type parameters of type ProcedureModifier and TypeMethodDescriptionstatic <T,
PT extends Procedure<? super T>>
voidFJIterate.forEach
(Iterable<T> iterable, ProcedureFactory<PT> procedureFactory, Combiner<PT> combiner) static <T,
PT extends Procedure<? super T>>
voidFJIterate.forEach
(Iterable<T> iterable, ProcedureFactory<PT> procedureFactory, Combiner<PT> combiner, int batchSize) Iterate over the collection specified in parallel batches using the default values for the task size.static <T,
PT extends Procedure<? super T>>
voidFJIterate.forEach
(Iterable<T> iterable, ProcedureFactory<PT> procedureFactory, Combiner<PT> combiner, int minForkSize, int taskCount) Iterate over the collection specified in parallel batches using the default values for the task size.static <T,
PT extends Procedure<? super T>>
voidFJIterate.forEach
(Iterable<T> iterable, ProcedureFactory<PT> procedureFactory, Combiner<PT> combiner, int minForkSize, int taskCount, ForkJoinPool executor) static <T,
PT extends Procedure<? super T>>
voidFJIterate.forEach
(Iterable<T> iterable, ProcedureFactory<PT> blockFactory, Combiner<PT> combiner, int batchSize, ForkJoinPool executor) static <T,
PT extends Procedure<? super T>>
voidFJIterate.forEach
(Iterable<T> iterable, ProcedureFactory<PT> procedureFactory, Combiner<PT> combiner, ForkJoinPool executor) static <T,
PT extends Procedure<? super T>>
voidIterate over the collection specified in parallel batches using the specified minimum fork and task count sizes.static <T,
PT extends Procedure<? super T>>
voidFJIterate.forEach
(Iterable<T> iterable, PT procedure, int minForkSize, int taskCount, ForkJoinPool executor) static <T,
PT extends Procedure<? super T>>
voidFJIterate.forEach
(Iterable<T> iterable, PT procedure, ForkJoinPool executor) Iterate over the collection specified in parallel batches using default runtime parameter values and the specified executor.static <T,
PT extends Procedure<? super T>>
voidFJIterate.forEachInBatchWithExecutor
(BatchIterable<T> batchIterable, ProcedureFactory<PT> procedureFactory, Combiner<PT> combiner, int minForkSize, int taskCount, ForkJoinPool executor) static <T,
PT extends Procedure<? super T>>
voidFJIterate.forEachInListOnExecutor
(List<T> list, ProcedureFactory<PT> procedureFactory, Combiner<PT> combiner, int minForkSize, int taskCount, ForkJoinPool executor) Methods in org.eclipse.collections.impl.forkjoin with parameters of type ProcedureModifier and TypeMethodDescriptionstatic <T> void
Iterate over the collection specified in parallel batches using default runtime parameter values.static <T> void
Iterate over the collection specified in parallel batches using default runtime parameter values.static <T> void
FJIterate.forEach
(Iterable<T> iterable, Procedure<? super T> procedure, int batchSize, ForkJoinPool executor) -
Uses of Procedure in org.eclipse.collections.impl.lazy
Methods in org.eclipse.collections.impl.lazy with parameters of type ProcedureModifier and TypeMethodDescriptionvoid
ChunkIterable.each
(Procedure<? super RichIterable<T>> procedure) void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
Constructors in org.eclipse.collections.impl.lazy with parameters of type ProcedureModifierConstructorDescriptionTapIterable
(Iterable<T> newAdapted, Procedure<? super T> procedure) -
Uses of Procedure in org.eclipse.collections.impl.lazy.iterator
Constructors in org.eclipse.collections.impl.lazy.iterator with parameters of type ProcedureModifierConstructorDescriptionTapIterator
(Iterable<T> iterable, Procedure<? super T> procedure) TapIterator
(Iterator<T> iterator, Procedure<? super T> procedure) -
Uses of Procedure in org.eclipse.collections.impl.lazy.parallel
Methods in org.eclipse.collections.impl.lazy.parallel with parameters of type ProcedureModifier and TypeMethodDescriptionvoid
void
void
void
void
void
-
Uses of Procedure in org.eclipse.collections.impl.lazy.parallel.bag
Methods in org.eclipse.collections.impl.lazy.parallel.bag with parameters of type ProcedureModifier and TypeMethodDescriptionvoid
void
void
void
-
Uses of Procedure in org.eclipse.collections.impl.lazy.parallel.list
Methods in org.eclipse.collections.impl.lazy.parallel.list with parameters of type ProcedureModifier and TypeMethodDescriptionvoid
void
void
void
void
void
void
void
-
Uses of Procedure in org.eclipse.collections.impl.lazy.parallel.set
Methods in org.eclipse.collections.impl.lazy.parallel.set with parameters of type ProcedureModifier and TypeMethodDescriptionvoid
void
void
void
-
Uses of Procedure in org.eclipse.collections.impl.lazy.parallel.set.sorted
Methods in org.eclipse.collections.impl.lazy.parallel.set.sorted with parameters of type Procedure -
Uses of Procedure in org.eclipse.collections.impl.lazy.primitive
Methods in org.eclipse.collections.impl.lazy.primitive with parameters of type ProcedureModifier and TypeMethodDescriptionvoid
ChunkBooleanIterable.each
(Procedure<? super BooleanIterable> procedure) void
ChunkByteIterable.each
(Procedure<? super ByteIterable> procedure) void
ChunkCharIterable.each
(Procedure<? super CharIterable> procedure) void
ChunkDoubleIterable.each
(Procedure<? super DoubleIterable> procedure) void
ChunkFloatIterable.each
(Procedure<? super FloatIterable> procedure) void
ChunkIntIterable.each
(Procedure<? super IntIterable> procedure) void
ChunkLongIterable.each
(Procedure<? super LongIterable> procedure) void
ChunkShortIterable.each
(Procedure<? super ShortIterable> procedure) void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
-
Uses of Procedure in org.eclipse.collections.impl.list
Methods in org.eclipse.collections.impl.list with parameters of type ProcedureModifier and TypeMethodDescriptionvoid
void
void
This method executes a void procedure against an executor, passing the current index of the interval.void
Interval.reverseForEach
(Procedure<? super Integer> procedure) -
Uses of Procedure in org.eclipse.collections.impl.list.fixed
Methods in org.eclipse.collections.impl.list.fixed with parameters of type ProcedureModifier and TypeMethodDescriptionvoid
void
-
Uses of Procedure in org.eclipse.collections.impl.list.mutable
Methods in org.eclipse.collections.impl.list.mutable with parameters of type ProcedureModifier and TypeMethodDescriptionvoid
CompositeFastList.batchForEach
(Procedure<? super E> procedure, int sectionIndex, int sectionCount) void
FastList.batchForEach
(Procedure<? super T> procedure, int sectionIndex, int sectionCount) void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
ArrayListAdapter.reverseForEach
(Procedure<? super T> procedure) void
CompositeFastList.reverseForEach
(Procedure<? super E> procedure) void
ListAdapter.reverseForEach
(Procedure<? super T> procedure) void
MultiReaderFastList.reverseForEach
(Procedure<? super T> procedure) void
RandomAccessListAdapter.reverseForEach
(Procedure<? super T> procedure) void
SynchronizedMutableList.reverseForEach
(Procedure<? super T> procedure) void
UnmodifiableMutableList.reverseForEach
(Procedure<? super T> procedure) void
MultiReaderFastList.withReadLockAndDelegate
(Procedure<? super MutableList<T>> procedure) void
MultiReaderFastList.withWriteLockAndDelegate
(Procedure<? super MutableList<T>> procedure) -
Uses of Procedure in org.eclipse.collections.impl.map
Methods in org.eclipse.collections.impl.map with parameters of type ProcedureModifier and TypeMethodDescriptionvoid
void
AbstractMapIterable.forEachKey
(Procedure<? super K> procedure) void
AbstractSynchronizedMapIterable.forEachKey
(Procedure<? super K> procedure) void
AbstractMapIterable.forEachValue
(Procedure<? super V> procedure) void
AbstractSynchronizedMapIterable.forEachValue
(Procedure<? super V> procedure) -
Uses of Procedure in org.eclipse.collections.impl.map.immutable
Methods in org.eclipse.collections.impl.map.immutable with parameters of type ProcedureModifier and TypeMethodDescriptionvoid
ImmutableUnifiedMap.batchForEach
(Procedure<? super V> procedure, int sectionIndex, int sectionCount) void
ImmutableUnifiedMap.forEachKey
(Procedure<? super K> procedure) void
ImmutableUnifiedMap.forEachValue
(Procedure<? super V> procedure) -
Uses of Procedure in org.eclipse.collections.impl.map.mutable
Methods in org.eclipse.collections.impl.map.mutable with parameters of type ProcedureModifier and TypeMethodDescriptionvoid
UnifiedMap.batchForEach
(Procedure<? super V> procedure, int sectionIndex, int sectionCount) void
void
ConcurrentHashMap.forEachKey
(Procedure<? super K> procedure) void
ConcurrentHashMapUnsafe.forEachKey
(Procedure<? super K> procedure) void
ConcurrentMutableHashMap.forEachKey
(Procedure<? super K> procedure) Deprecated.void
UnifiedMap.forEachKey
(Procedure<? super K> procedure) void
UnmodifiableMutableMap.forEachKey
(Procedure<? super K> procedure) void
ConcurrentHashMap.forEachValue
(Procedure<? super V> procedure) void
ConcurrentHashMapUnsafe.forEachValue
(Procedure<? super V> procedure) void
ConcurrentMutableHashMap.forEachValue
(Procedure<? super V> procedure) Deprecated.void
UnifiedMap.forEachValue
(Procedure<? super V> procedure) void
UnmodifiableMutableMap.forEachValue
(Procedure<? super V> procedure) MutableMap<K,
V> Deprecated.MutableMap<K,
V> MutableMap<K,
V> Method parameters in org.eclipse.collections.impl.map.mutable with type arguments of type ProcedureModifier and TypeMethodDescriptionvoid
ConcurrentHashMap.parallelForEachValue
(List<Procedure<V>> blocks, Executor executor) void
ConcurrentHashMapUnsafe.parallelForEachValue
(List<Procedure<V>> blocks, Executor executor) -
Uses of Procedure in org.eclipse.collections.impl.map.mutable.primitive
Methods in org.eclipse.collections.impl.map.mutable.primitive with parameters of type ProcedureModifier and TypeMethodDescriptionvoid
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
ObjectBooleanHashMap.forEachKey
(Procedure<? super K> procedure) void
ObjectBooleanHashMapWithHashingStrategy.forEachKey
(Procedure<? super K> procedure) void
ObjectByteHashMap.forEachKey
(Procedure<? super K> procedure) void
ObjectByteHashMapWithHashingStrategy.forEachKey
(Procedure<? super K> procedure) void
ObjectCharHashMap.forEachKey
(Procedure<? super K> procedure) void
ObjectCharHashMapWithHashingStrategy.forEachKey
(Procedure<? super K> procedure) void
ObjectDoubleHashMap.forEachKey
(Procedure<? super K> procedure) void
ObjectDoubleHashMapWithHashingStrategy.forEachKey
(Procedure<? super K> procedure) void
ObjectFloatHashMap.forEachKey
(Procedure<? super K> procedure) void
ObjectFloatHashMapWithHashingStrategy.forEachKey
(Procedure<? super K> procedure) void
ObjectIntHashMap.forEachKey
(Procedure<? super K> procedure) void
ObjectIntHashMapWithHashingStrategy.forEachKey
(Procedure<? super K> procedure) void
ObjectLongHashMap.forEachKey
(Procedure<? super K> procedure) void
ObjectLongHashMapWithHashingStrategy.forEachKey
(Procedure<? super K> procedure) void
ObjectShortHashMap.forEachKey
(Procedure<? super K> procedure) void
ObjectShortHashMapWithHashingStrategy.forEachKey
(Procedure<? super K> procedure) void
SynchronizedObjectBooleanMap.forEachKey
(Procedure<? super K> procedure) void
SynchronizedObjectByteMap.forEachKey
(Procedure<? super K> procedure) void
SynchronizedObjectCharMap.forEachKey
(Procedure<? super K> procedure) void
SynchronizedObjectDoubleMap.forEachKey
(Procedure<? super K> procedure) void
SynchronizedObjectFloatMap.forEachKey
(Procedure<? super K> procedure) void
SynchronizedObjectIntMap.forEachKey
(Procedure<? super K> procedure) void
SynchronizedObjectLongMap.forEachKey
(Procedure<? super K> procedure) void
SynchronizedObjectShortMap.forEachKey
(Procedure<? super K> procedure) void
UnmodifiableObjectBooleanMap.forEachKey
(Procedure<? super K> procedure) void
UnmodifiableObjectByteMap.forEachKey
(Procedure<? super K> procedure) void
UnmodifiableObjectCharMap.forEachKey
(Procedure<? super K> procedure) void
UnmodifiableObjectDoubleMap.forEachKey
(Procedure<? super K> procedure) void
UnmodifiableObjectFloatMap.forEachKey
(Procedure<? super K> procedure) void
UnmodifiableObjectIntMap.forEachKey
(Procedure<? super K> procedure) void
UnmodifiableObjectLongMap.forEachKey
(Procedure<? super K> procedure) void
UnmodifiableObjectShortMap.forEachKey
(Procedure<? super K> procedure) void
ByteObjectHashMap.forEachValue
(Procedure<? super V> procedure) void
CharObjectHashMap.forEachValue
(Procedure<? super V> procedure) void
DoubleObjectHashMap.forEachValue
(Procedure<? super V> procedure) void
FloatObjectHashMap.forEachValue
(Procedure<? super V> procedure) void
IntObjectHashMap.forEachValue
(Procedure<? super V> procedure) void
LongObjectHashMap.forEachValue
(Procedure<? super V> procedure) void
ShortObjectHashMap.forEachValue
(Procedure<? super V> procedure) void
SynchronizedByteObjectMap.forEachValue
(Procedure<? super V> procedure) void
SynchronizedCharObjectMap.forEachValue
(Procedure<? super V> procedure) void
SynchronizedDoubleObjectMap.forEachValue
(Procedure<? super V> procedure) void
SynchronizedFloatObjectMap.forEachValue
(Procedure<? super V> procedure) void
SynchronizedIntObjectMap.forEachValue
(Procedure<? super V> procedure) void
SynchronizedLongObjectMap.forEachValue
(Procedure<? super V> procedure) void
SynchronizedShortObjectMap.forEachValue
(Procedure<? super V> procedure) void
UnmodifiableByteObjectMap.forEachValue
(Procedure<? super V> procedure) void
UnmodifiableCharObjectMap.forEachValue
(Procedure<? super V> procedure) void
UnmodifiableDoubleObjectMap.forEachValue
(Procedure<? super V> procedure) void
UnmodifiableFloatObjectMap.forEachValue
(Procedure<? super V> procedure) void
UnmodifiableIntObjectMap.forEachValue
(Procedure<? super V> procedure) void
UnmodifiableLongObjectMap.forEachValue
(Procedure<? super V> procedure) void
UnmodifiableShortObjectMap.forEachValue
(Procedure<? super V> procedure) -
Uses of Procedure in org.eclipse.collections.impl.map.ordered.mutable
Methods in org.eclipse.collections.impl.map.ordered.mutable with parameters of type ProcedureModifier and TypeMethodDescriptionvoid
void
void
void
UnmodifiableMutableOrderedMap.forEachKey
(Procedure<? super K> procedure) void
UnmodifiableMutableOrderedMap.forEachValue
(Procedure<? super V> procedure) void
UnmodifiableMutableOrderedMap.reverseForEach
(Procedure<? super V> procedure) -
Uses of Procedure in org.eclipse.collections.impl.map.sorted.immutable
Methods in org.eclipse.collections.impl.map.sorted.immutable with parameters of type Procedure -
Uses of Procedure in org.eclipse.collections.impl.map.sorted.mutable
Methods in org.eclipse.collections.impl.map.sorted.mutable with parameters of type ProcedureModifier and TypeMethodDescriptionvoid
void
void
void
void
UnmodifiableTreeMap.forEachKey
(Procedure<? super K> procedure) void
UnmodifiableTreeMap.forEachValue
(Procedure<? super V> procedure) void
SynchronizedSortedMap.reverseForEach
(Procedure<? super V> procedure) -
Uses of Procedure in org.eclipse.collections.impl.map.strategy.immutable
Methods in org.eclipse.collections.impl.map.strategy.immutable with parameters of type ProcedureModifier and TypeMethodDescriptionvoid
ImmutableUnifiedMapWithHashingStrategy.batchForEach
(Procedure<? super V> procedure, int sectionIndex, int sectionCount) void
ImmutableUnifiedMapWithHashingStrategy.forEachKey
(Procedure<? super K> procedure) void
ImmutableUnifiedMapWithHashingStrategy.forEachValue
(Procedure<? super V> procedure) -
Uses of Procedure in org.eclipse.collections.impl.map.strategy.mutable
Methods in org.eclipse.collections.impl.map.strategy.mutable with parameters of type ProcedureModifier and TypeMethodDescriptionvoid
UnifiedMapWithHashingStrategy.batchForEach
(Procedure<? super V> procedure, int sectionIndex, int sectionCount) void
UnifiedMapWithHashingStrategy.forEachKey
(Procedure<? super K> procedure) void
UnifiedMapWithHashingStrategy.forEachValue
(Procedure<? super V> procedure) -
Uses of Procedure in org.eclipse.collections.impl.multimap
Methods in org.eclipse.collections.impl.multimap with parameters of type ProcedureModifier and TypeMethodDescriptionvoid
AbstractMultimap.forEachKey
(Procedure<? super K> procedure) void
AbstractSynchronizedMultimap.forEachKey
(Procedure<? super K> procedure) void
AbstractMultimap.forEachValue
(Procedure<? super V> procedure) void
AbstractSynchronizedMultimap.forEachValue
(Procedure<? super V> procedure) -
Uses of Procedure in org.eclipse.collections.impl.parallel
Classes in org.eclipse.collections.impl.parallel with type parameters of type ProcedureModifier and TypeClassDescriptionclass
AbstractPredicateBasedCombiner<T,
BT extends Procedure<T>> class
AbstractTransformerBasedCombiner<V,
T, BT extends Procedure<T>> final class
ArrayProcedureFJTask<T,
BT extends Procedure<? super T>> final class
ArrayProcedureFJTaskRunner<T,
BT extends Procedure<? super T>> final class
BatchIterableProcedureFJTask<T,
BT extends Procedure<? super T>> final class
BatchIterableProcedureFJTaskRunner<T,
BT extends Procedure<? super T>> final class
PassThruProcedureFactory<BT extends Procedure<?>>
interface
ProcedureFactory<T extends Procedure<?>>
final class
ProcedureFJTask<T,
BT extends Procedure<? super T>> final class
ProcedureFJTaskRunner<T,
BT extends Procedure<? super T>> Methods in org.eclipse.collections.impl.parallel with type parameters of type ProcedureModifier and TypeMethodDescriptionstatic <T,
BT extends Procedure<? super T>>
voidParallelArrayIterate.forEach
(T[] array, ProcedureFactory<BT> procedureFactory, Combiner<BT> combiner) static <T,
BT extends Procedure<? super T>>
voidParallelArrayIterate.forEach
(T[] array, ProcedureFactory<BT> procedureFactory, Combiner<BT> combiner, int minForkSize, int taskCount) static <T,
BT extends Procedure<? super T>>
voidIterate over the collection specified in parallel batches using the specified minimum fork and task count sizes.static <T,
BT extends Procedure<? super T>>
voidParallelIterate.forEach
(Iterable<T> iterable, BT procedure, int minForkSize, int taskCount, Executor executor) static <T,
BT extends Procedure<? super T>>
voidIterate over the collection specified in parallel batches using default runtime parameter values and the specified executor.static <T,
BT extends Procedure<? super T>>
voidParallelIterate.forEach
(Iterable<T> iterable, ProcedureFactory<BT> procedureFactory, Combiner<BT> combiner) static <T,
BT extends Procedure<? super T>>
voidParallelIterate.forEach
(Iterable<T> iterable, ProcedureFactory<BT> procedureFactory, Combiner<BT> combiner, int batchSize) Iterate over the collection specified in parallel batches using the default values for the task size.static <T,
BT extends Procedure<? super T>>
voidParallelIterate.forEach
(Iterable<T> iterable, ProcedureFactory<BT> procedureFactory, Combiner<BT> combiner, int minForkSize, int taskCount) Iterate over the collection specified in parallel batches using the default values for the task size.static <T,
BT extends Procedure<? super T>>
voidParallelIterate.forEach
(Iterable<T> iterable, ProcedureFactory<BT> procedureFactory, Combiner<BT> combiner, int minForkSize, int taskCount, Executor executor) static <T,
BT extends Procedure<? super T>>
voidParallelIterate.forEach
(Iterable<T> iterable, ProcedureFactory<BT> procedureFactory, Combiner<BT> combiner, int batchSize, Executor executor) static <T,
BT extends Procedure<? super T>>
voidParallelIterate.forEach
(Iterable<T> iterable, ProcedureFactory<BT> procedureFactory, Combiner<BT> combiner, Executor executor) static <T,
BT extends Procedure<? super T>>
voidParallelIterate.forEachInBatchWithExecutor
(BatchIterable<T> set, ProcedureFactory<BT> procedureFactory, Combiner<BT> combiner, int minForkSize, int taskCount, Executor executor) static <T,
BT extends Procedure<? super T>>
voidParallelIterate.forEachInListOnExecutor
(List<T> list, ProcedureFactory<BT> procedureFactory, Combiner<BT> combiner, int minForkSize, int taskCount, Executor executor) static <T,
BT extends Procedure<? super T>>
voidParallelArrayIterate.forEachOn
(T[] array, ProcedureFactory<BT> procedureFactory, Combiner<BT> combiner, int minForkSize, int taskCount, Executor executor) Methods in org.eclipse.collections.impl.parallel with parameters of type ProcedureModifier and TypeMethodDescriptionvoid
BatchIterable.batchForEach
(Procedure<? super E> procedure, int sectionIndex, int sectionCount) void
static <T> void
Iterate over the collection specified in parallel batches using default runtime parameter values.static <T> void
Iterate over the collection specified in parallel batches using default runtime parameter values.static <T> void
ParallelIterate.forEach
(Iterable<T> iterable, Procedure<? super T> procedure, int batchSize, Executor executor) -
Uses of Procedure in org.eclipse.collections.impl.partition.stack
Classes in org.eclipse.collections.impl.partition.stack that implement ProcedureModifier and TypeClassDescriptionstatic final class
static final class
-
Uses of Procedure in org.eclipse.collections.impl.set.immutable
Methods in org.eclipse.collections.impl.set.immutable with parameters of type ProcedureModifier and TypeMethodDescription -
Uses of Procedure in org.eclipse.collections.impl.set.mutable
Methods in org.eclipse.collections.impl.set.mutable with parameters of type ProcedureModifier and TypeMethodDescriptionvoid
UnifiedSet.batchForEach
(Procedure<? super T> procedure, int sectionIndex, int sectionCount) void
void
MultiReaderUnifiedSet.withReadLockAndDelegate
(Procedure<? super MutableSet<T>> procedure) void
MultiReaderUnifiedSet.withWriteLockAndDelegate
(Procedure<? super MutableSet<T>> procedure) -
Uses of Procedure in org.eclipse.collections.impl.set.sorted.mutable
Methods in org.eclipse.collections.impl.set.sorted.mutable with parameters of type ProcedureModifier and TypeMethodDescriptionvoid
void
void
void
void
void
SortedSetAdapter.reverseForEach
(Procedure<? super T> procedure) void
SynchronizedSortedSet.reverseForEach
(Procedure<? super T> procedure) void
TreeSortedSet.reverseForEach
(Procedure<? super T> procedure) void
UnmodifiableSortedSet.reverseForEach
(Procedure<? super T> procedure) -
Uses of Procedure in org.eclipse.collections.impl.set.strategy.mutable
Methods in org.eclipse.collections.impl.set.strategy.mutable with parameters of type ProcedureModifier and TypeMethodDescriptionvoid
UnifiedSetWithHashingStrategy.batchForEach
(Procedure<? super T> procedure, int sectionIndex, int sectionCount) void
-
Uses of Procedure in org.eclipse.collections.impl.stack.mutable
Methods in org.eclipse.collections.impl.stack.mutable with parameters of type ProcedureModifier and TypeMethodDescriptionvoid
void
void
void
void
void
-
Uses of Procedure in org.eclipse.collections.impl.utility
Methods in org.eclipse.collections.impl.utility with parameters of type ProcedureModifier and TypeMethodDescriptionstatic <T> void
Iterates over the section of the list covered by the specified inclusive indexes.static <T> void
static <T> void
Iterates over the section of the list covered by the specified indexes.static <T> void
static <T> void
The procedure is evaluated for each element of the iterable.static <T> void
Iterates over the section of the list covered by the specified indexes.static <T> void
static <K,
V> void MapIterate.forEachKey
(Map<K, V> map, Procedure<? super K> procedure) For each key of the map,procedure
is evaluated with the key as the parameter.static void
StringIterate.forEachToken
(String string, String separator, Procedure<String> procedure) For each token in a string separated by the specified separator, execute the specified StringProcedure by calling the valueOfString method.static void
StringIterate.forEachTrimmedToken
(String string, String separator, Procedure<String> procedure) static <K,
V> void MapIterate.forEachValue
(Map<K, V> map, Procedure<? super V> procedure) For each value of the map,procedure
is evaluated with the value as the parameter.static <T> boolean
static <T,
P> boolean ListIterate.removeIfWith
(List<T> list, Predicate2<? super T, ? super P> predicate, P parameter, Procedure<? super T> procedure) static <T> void
ArrayListIterate.reverseForEach
(ArrayList<T> list, Procedure<? super T> procedure) Reverses over the List in reverse order executing the Procedure for each element.static <T> void
ListIterate.reverseForEach
(List<T> list, Procedure<? super T> procedure) Iterates over the List in reverse order executing the Procedure for each elementstatic <T> LazyIterable<T>
Creates a deferred tap iterable for the specified iterable. -
Uses of Procedure in org.eclipse.collections.impl.utility.internal
Methods in org.eclipse.collections.impl.utility.internal with parameters of type ProcedureModifier and TypeMethodDescriptionstatic <T> void
InternalArrayIterate.batchForEach
(Procedure<? super T> procedure, T[] array, int size, int sectionIndex, int sectionCount) static <T> void
static <T> void
static <T> void
static <T> void
Iterates over the section of the list covered by the specified indexes.static <T> void
static <T> void
InternalArrayIterate.forEachWithoutChecks
(T[] objectArray, int from, int to, Procedure<? super T> procedure) static <T> boolean
IterableIterate.removeIf
(Iterable<T> iterable, Predicate<? super T> predicate, Procedure<? super T> procedure) static <T> boolean
IteratorIterate.removeIf
(Iterator<T> iterator, Predicate<? super T> predicate, Procedure<? super T> procedure) static <T> boolean
RandomAccessListIterate.removeIf
(List<T> list, Predicate<? super T> predicate, Procedure<? super T> procedure) static <T,
P> boolean IterableIterate.removeIfWith
(Iterable<T> iterable, Predicate2<? super T, ? super P> predicate, P parameter, Procedure<? super T> procedure) static <T,
P> boolean IteratorIterate.removeIfWith
(Iterator<T> iterator, Predicate2<? super T, ? super P> predicate, P parameter, Procedure<? super T> procedure) static <T,
P> boolean RandomAccessListIterate.removeIfWith
(List<T> list, Predicate2<? super T, ? super P> predicate, P parameter, Procedure<? super T> procedure)