Top Description Interfaces Classes
module org.eclipse.collections.impl

Package org.eclipse.collections.impl.block.procedure


This package contains implementations of org.eclipse.collections.api.block.procedure.Procedure and org.eclipse.collections.api.block.procedure.Procedure2.

Interface Summary

Modifier and TypeInterface and Description
public interface

Class Summary

Modifier and TypeClass and Description
public class
public class
public class
AtomicCountProcedure<T>

Applies a predicate to an object and increments a count if it returns true.

public class
public 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.

public class
CaseProcedure<T>

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.

public class
ChainedProcedure<T>

ChainedProcedure allows a developer to chain together procedure to be executed in sequence.

public class
public class
CollectionAddProcedure<T>

CollectionAddProcedure adds elements to the specified collection when one of the block methods are called.

public class
CollectionRemoveProcedure<T>

CollectionRemoveProcedure removes element from the specified collection when one of the procedure methods are called.

public class
CollectProcedure<T, V>

Applies a function to an object and adds the result to a target collection.

public abstract class
public class
CounterProcedure<T>

CounterProcedure wraps a specified procedure and keeps track of the number of times it is executed.

public class
CountProcedure<T>

Applies a predicate to an object and increments a count if it returns true.

public class
public class
FastListCollectProcedure<T, V>

Applies a function to an object and adds the result to a target fastList.

public class
FastListRejectProcedure<T>

Applies a predicate to an object to determine if it should be added to a target fastList.

public class
FastListSelectProcedure<T>

Applies a predicate to an object to determine if it should be added to a target fastList.

public class
FlatCollectProcedure<T, V>

Applies a function to an object and adds the result to a target collection.

public class
public class
IfObjectIntProcedure<T>

A conditional ObjectIntProcedure that effectively filters which objects should be used

public class
IfProcedure<T>

IfProcedure allows developers to evaluate the specified procedure only when either predicate returns true.

public class
IfProcedureWith<T, P>

A conditional parameterized two argument procedure that effectively filters which objects should be used

public class
public 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.

public 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.

public class
MapPutProcedure<K, V>

Transfers keys and values from one map to another

public class
MaxByProcedure<T, V extends Comparable<? super V>>

Implementation of Procedure that holds on to the maximum element seen so far, determined by the Function.

public class
MaxComparatorProcedure<T>

Implementation of Procedure that holds on to the maximum element seen so far, determined by the Comparator.

public class
MaxProcedure<T>

Implementation of Procedure that holds on to the minimum element seen so far, determined by the Function.

public class
MinByProcedure<T, V extends Comparable<? super V>>

Implementation of Procedure that holds on to the minimum element seen so far, determined by the Function.

public class
MinComparatorProcedure<T>

Implementation of Procedure that holds on to the minimum element seen so far, determined by the Comparator

public class
MinProcedure<T>

Implementation of Procedure that holds on to the minimum element seen so far, determined by the Function.

public class
MultimapEachPutProcedure<K, V>

MultimapEachPutProcedure uses a Function to calculate the keys for an object and puts the object with each of the keys into the specified MutableMultimap.

public class
MultimapKeyValuePutAllProcedure<T, K, V>

MultimapKeyValuePutAllProcedure uses two Functions to calculate the key and values for an object and puts the key with all values into the specified MutableMultimap.

public 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 specified MutableMultimap.

public class
MultimapPutProcedure<K, V>

MultimapPutProcedure uses a Function to calculate the key for an object and puts the object with the key into the specified MutableMultimap.

public class
MutatingAggregationProcedure<T, K, V>

This procedure is used to apply an aggregate function like sum on a grouped set of data.

public class
NonMutatingAggregationProcedure<T, K, V>

This procedure is used to apply an aggregate function like sum on a grouped set of data.

public class
public class
public class
RejectProcedure<T>

Applies a predicate to an object to determine if it should be added to a target collection.

public class
SelectInstancesOfProcedure<T>

Calls Class#isInstance(Object) on an object to determine if it should be added to a target collection.

public class
SelectProcedure<T>

Applies a predicate to an object to determine if it should be added to a target collection.

public class
SumOfByteProcedure<T>

Implementation of Procedure that holds on to the summation of elements seen so far, determined by the Function.

public class
SumOfCharProcedure<T>

Implementation of Procedure that holds on to the summation of elements seen so far, determined by the Function.

public class
SumOfDoubleProcedure<T>

Implementation of Procedure that holds on to the summation of elements seen so far, determined by the Function.

public class
SumOfFloatProcedure<T>

Implementation of Procedure that holds on to the summation of elements seen so far, determined by the Function.

public class
SumOfIntProcedure<T>

Implementation of Procedure that holds on to the summation of elements seen so far, determined by the Function.

public class
SumOfLongProcedure<T>

Implementation of Procedure that holds on to the summation of elements seen so far, determined by the Function.

public class
SumOfShortProcedure<T>

Implementation of Procedure that holds on to the summation of elements seen so far, determined by the Function.

public 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.