Top Description Fields Constructors Methods
org.eclipse.collections.impl.block.procedure

public Class SumOfByteProcedure<T>

extends Object
implements Procedure<T>
Class Inheritance
All Implemented Interfaces
org.eclipse.collections.api.block.procedure.Procedure, java.io.Serializable, java.util.function.Consumer
Imports
org.eclipse.collections.api.block.function.Function, org.eclipse.collections.api.block.function.primitive.ByteFunction, org.eclipse.collections.api.block.procedure.Procedure

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.

Field Summary

Modifier and TypeField and Description
protected final ByteFunction<? super T>
protected byte
private static final long

Constructor Summary

AccessConstructor and Description
public
SumOfByteProcedure(ByteFunction<? super T> function)

Method Summary

Modifier and TypeMethod and Description
public byte
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

functionback to summary
protected final ByteFunction<? super T> function
resultback to summary
protected byte result
serialVersionUIDback to summary
private static final long serialVersionUID

Constructor Detail

SumOfByteProcedureback to summary
public SumOfByteProcedure(ByteFunction<? super T> function)

Method Detail

getResultback to summary
public byte getResult()
valueback to summary
public void value(T each)

Implements org.eclipse.collections.api.block.procedure.Procedure.value.

Annotations
@Override