Class IfProcedure<T>

java.lang.Object
org.eclipse.collections.impl.block.procedure.IfProcedure<T>
All Implemented Interfaces:
Serializable, Consumer<T>, Procedure<T>

public final class IfProcedure<T> extends Object implements Procedure<T>
IfProcedure allows developers to evaluate the specified procedure only when either predicate returns true. If the result of evaluating the predicate is false, and the developer has specified that there is an elseProcedure, then the elseProcedure is evaluated.
See Also: