Class SumOfByteProcedure<T>

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

    public class SumOfByteProcedure<T>
    extends java.lang.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:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte getResult()  
      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

      • result

        protected byte result
    • Constructor Detail

      • SumOfByteProcedure

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

      • getResult

        public byte getResult()
      • value

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