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

public Class SumOfCharProcedure<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.CharFunction, 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 CharFunction<? super T>
protected char
private static final long

Constructor Summary

AccessConstructor and Description
public
SumOfCharProcedure(CharFunction<? super T> function)

Method Summary

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

Field Detail

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

Constructor Detail

SumOfCharProcedureback to summary
public SumOfCharProcedure(CharFunction<? super T> function)

Method Detail

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

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

Annotations
@Override