Class IfProcedureWith<T,P>
java.lang.Object
org.eclipse.collections.impl.block.procedure.IfProcedureWith<T,P>
- All Implemented Interfaces:
Serializable
,BiConsumer<T,P>
,Procedure2<T,P>
public final class IfProcedureWith<T,P> extends Object implements Procedure2<T,P>
A conditional parameterized two argument procedure that effectively filters which objects should be used
- See Also:
- Serialized Form
-
Constructor Details
-
IfProcedureWith
public IfProcedureWith(Predicate<? super T> newPredicate, Procedure2<? super T,? super P> procedure)
-
-
Method Details
-
value
- Specified by:
value
in interfaceProcedure2<T,P>
-