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>
A conditional parameterized two argument procedure that effectively filters which objects should be used
- See Also:
-
Constructor Summary
ConstructorDescriptionIfProcedureWith
(Predicate<? super T> newPredicate, Procedure2<? super T, ? super P> procedure) -
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.function.BiConsumer
andThen
Methods inherited from interface org.eclipse.collections.api.block.procedure.Procedure2
accept
-
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>
-