Class CollectBooleanProcedure<T>
- java.lang.Object
-
- org.eclipse.collections.impl.block.procedure.primitive.CollectBooleanProcedure<T>
-
- All Implemented Interfaces:
java.io.Serializable
,java.util.function.Consumer<T>
,Procedure<T>
public final class CollectBooleanProcedure<T> extends java.lang.Object implements Procedure<T>
Applies a BooleanFunction to an object and adds the result to a target boolean collection. This file was automatically generated from template file CollectPrimitiveProcedure.stg.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private MutableBooleanCollection
booleanCollection
private BooleanFunction<? super T>
booleanFunction
private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description CollectBooleanProcedure(BooleanFunction<? super T> booleanFunction, MutableBooleanCollection targetCollection)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableBooleanCollection
getBooleanCollection()
void
value(T object)
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
booleanFunction
private final BooleanFunction<? super T> booleanFunction
-
booleanCollection
private final MutableBooleanCollection booleanCollection
-
-
Constructor Detail
-
CollectBooleanProcedure
public CollectBooleanProcedure(BooleanFunction<? super T> booleanFunction, MutableBooleanCollection targetCollection)
-
-
Method Detail
-
getBooleanCollection
public MutableBooleanCollection getBooleanCollection()
-
-