Class SumOfCharProcedure<T>

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

public class SumOfCharProcedure<T> extends Object implements Procedure<T>
Implementation of Procedure that holds on to the summation of elements seen so far, determined by the Function. This file was automatically generated from template file sumOfPrimitiveProcedure.stg.
See Also:
  • Constructor Details

    • SumOfCharProcedure

      public SumOfCharProcedure(CharFunction<? super T> function)
  • Method Details

    • getResult

      public char getResult()
    • value

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