Class Procedures.BindProcedure<T,​P>

  • All Implemented Interfaces:
    java.io.Serializable, java.util.function.Consumer<T>, Procedure<T>
    Enclosing class:
    Procedures

    private static final class Procedures.BindProcedure<T,​P>
    extends java.lang.Object
    implements Procedure<T>
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private BindProcedure​(Procedure2<? super T,​? super P> procedure, P parameter)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void value​(T each)  
      • 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.Consumer

        andThen
      • Methods inherited from interface org.eclipse.collections.api.block.procedure.Procedure

        accept
    • Field Detail

      • procedure

        private final Procedure2<? super T,​? super P> procedure
      • parameter

        private final P parameter
    • Constructor Detail

      • BindProcedure

        private BindProcedure​(Procedure2<? super T,​? super P> procedure,
                              P parameter)
    • Method Detail

      • value

        public void value​(T each)
        Specified by:
        value in interface Procedure<T>