Class SumOfDoubleProcedure<T>
java.lang.Object
org.eclipse.collections.impl.block.procedure.SumOfDoubleProcedure<T>
- All Implemented Interfaces:
Serializable,Consumer<T>,Procedure<T>,DoubleSumResultHolder
Implementation of
Procedure that holds on to the summation of elements seen so far,
determined by the Function.- See Also:
-
Constructor Details
-
SumOfDoubleProcedure
-
-
Method Details
-
getResult
public double getResult()- Specified by:
getResultin interfaceDoubleSumResultHolder
-
getCompensation
public double getCompensation()- Specified by:
getCompensationin interfaceDoubleSumResultHolder
-
value
-