Class IfProcedureWith<T,​P>

  • All Implemented Interfaces:
    java.io.Serializable, java.util.function.BiConsumer<T,​P>, Procedure2<T,​P>

    public final class IfProcedureWith<T,​P>
    extends java.lang.Object
    implements Procedure2<T,​P>
    A conditional parameterized two argument procedure that effectively filters which objects should be used
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void value​(T each, P parm)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, 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 Detail

      • IfProcedureWith

        public IfProcedureWith​(Predicate<? super T> newPredicate,
                               Procedure2<? super T,​? super P> procedure)
    • Method Detail

      • value

        public void value​(T each,
                          P parm)
        Specified by:
        value in interface Procedure2<T,​P>