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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Procedure2<? super T, ? super P> private static final long -
Constructor Summary
ConstructorsConstructorDescriptionIfProcedureWith(Predicate<? super T> newPredicate, Procedure2<? super T, ? super P> procedure) -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface BiConsumer
andThenMethods inherited from interface Procedure2
accept
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
procedure
-
predicate
-
-
Constructor Details
-
IfProcedureWith
public IfProcedureWith(Predicate<? super T> newPredicate, Procedure2<? super T, ? super P> procedure)
-
-
Method Details
-
value
-