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