Package one.microstream.functional
Class SumDouble
java.lang.Object
one.microstream.functional.SumDouble
- All Implemented Interfaces:
Consumer<Double>
,Aggregator<Double,Double>
public final class SumDouble extends Object implements Aggregator<Double,Double>
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.functional.Aggregator
Aggregator.Creator<E,R>
-
Constructor Summary
Constructors Constructor Description SumDouble()
-
Method Summary
-
Constructor Details
-
SumDouble
public SumDouble()
-
-
Method Details
-
accept
Description copied from interface:Aggregator
Aggregate single element to the collecting object. -
yield
Description copied from interface:Aggregator
Builds or aggregates the added elements to one collected object.- Specified by:
yield
in interfaceAggregator<Double,Double>
- Returns:
- the collected object
-