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
ConstructorsConstructorDescriptionIfProcedureWith(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, waitMethods inherited from interface java.util.function.BiConsumer
andThenMethods 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:
valuein interfaceProcedure2<T,P>
-