Class SumOfByteProcedure<T>

All Implemented Interfaces:
Serializable, Consumer<T>, Procedure<T>

public class SumOfByteProcedure<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

    • SumOfByteProcedure

      public SumOfByteProcedure(ByteFunction<? super T> function)
  • Method Details

    • getResult

      public byte getResult()
    • value

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