Package one.microstream.functional
Class AvgInteger
java.lang.Object
one.microstream.functional.AvgInteger
- All Implemented Interfaces:
Consumer<Integer>
,Aggregator<Integer,Integer>
public final class AvgInteger 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 AvgInteger()
AvgInteger(XGettingCollection<Integer> c)
-
Method Summary
-
Constructor Details
-
AvgInteger
public AvgInteger() -
AvgInteger
-
-
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<Integer,Integer>
- Returns:
- the collected object
-