public class SumOfDoubleProcedure<T> extends Object implements org.eclipse.collections.api.block.procedure.Procedure<T>, DoubleSumResultHolder
Procedure that holds on to the summation of elements seen so far,
determined by the Function.| Constructor and Description |
|---|
SumOfDoubleProcedure(org.eclipse.collections.api.block.function.primitive.DoubleFunction<? super T> function) |
public SumOfDoubleProcedure(org.eclipse.collections.api.block.function.primitive.DoubleFunction<? super T> function)
public double getResult()
getResult in interface DoubleSumResultHolderpublic double getCompensation()
getCompensation in interface DoubleSumResultHolderCopyright © 2004–2018. All rights reserved.