Class SumOfByteProcedure<T>
- java.lang.Object
-
- org.eclipse.collections.impl.block.procedure.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 ofProcedure
that holds on to the summation of elements seen so far, determined by theFunction
. This file was automatically generated from template file sumOfPrimitiveProcedure.stg.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected ByteFunction<? super T>
function
protected byte
result
private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description SumOfByteProcedure(ByteFunction<? super T> function)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte
getResult()
void
value(T each)
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
function
protected final ByteFunction<? super T> function
-
result
protected byte result
-
-
Constructor Detail
-
SumOfByteProcedure
public SumOfByteProcedure(ByteFunction<? super T> function)
-
-