Serializable
, Consumer<T>
, Procedure<T>
, DoubleSumResultHolder
public class SumOfFloatProcedure<T> extends Object implements Procedure<T>, DoubleSumResultHolder
Procedure
that holds on to the summation of elements seen so far,
determined by the Function
.Constructor | Description |
---|---|
SumOfFloatProcedure(FloatFunction<? super T> function) |
public SumOfFloatProcedure(FloatFunction<? super T> function)
public double getResult()
getResult
in interface DoubleSumResultHolder
public double getCompensation()
getCompensation
in interface DoubleSumResultHolder
Copyright © 2004–2019. All rights reserved.