Package one.microstream.functional
Class SumLong
java.lang.Object
one.microstream.functional.SumLong
- All Implemented Interfaces:
Consumer<Long>
,Aggregator<Long,Long>
public final class SumLong extends Object implements Aggregator<Long,Long>
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.functional.Aggregator
Aggregator.Creator<E,R>
-
Constructor Summary
Constructors Constructor Description SumLong()
-
Method Summary
-
Constructor Details
-
SumLong
public SumLong()
-
-
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<Long,Long>
- Returns:
- the collected object
-