Class InjectIntoProcedure<IV,T>

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

public class InjectIntoProcedure<IV,T> extends Object implements Procedure<T>
See Also:
  • Constructor Details

    • InjectIntoProcedure

      public InjectIntoProcedure(IV injectedValue, Function2<? super IV,? super T,? extends IV> function)
  • Method Details

    • value

      public void value(T each)
      Specified by:
      value in interface Procedure<IV>
    • getResult

      public IV getResult()