Top Description Fields Constructors Methods
org.eclipse.collections.impl.block.procedure

public final Class IfProcedureWith<T, P>

extends Object
implements Procedure2<T, P>
Class Inheritance
All Implemented Interfaces
org.eclipse.collections.api.block.procedure.Procedure2, java.io.Serializable, java.util.function.BiConsumer
Imports
org.eclipse.collections.api.block.predicate.Predicate, org.eclipse.collections.api.block.procedure.Procedure2

A conditional parameterized two argument procedure that effectively filters which objects should be used

Field Summary

Modifier and TypeField and Description
private final Predicate<? super T>
private final Procedure2<? super T, ? super P>
private static final long

Constructor Summary

AccessConstructor and Description
public
IfProcedureWith(Predicate<? super T> newPredicate, Procedure2<? super T, ? super P> procedure)

Method Summary

Modifier and TypeMethod and Description
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

predicateback to summary
private final Predicate<? super T> predicate
procedureback to summary
private final Procedure2<? super T, ? super P> procedure
serialVersionUIDback to summary
private static final long serialVersionUID

Constructor Detail

IfProcedureWithback to summary
public IfProcedureWith(Predicate<? super T> newPredicate, Procedure2<? super T, ? super P> procedure)

Method Detail

valueback to summary
public void value(T each, P parm)

Implements org.eclipse.collections.api.block.procedure.Procedure2.value.

Annotations
@Override