Package one.microstream.functional
Class XFunc.MaxInteger
java.lang.Object
one.microstream.functional.XFunc.MaxInteger
- All Implemented Interfaces:
Consumer<Integer>
,Aggregator<Integer,Integer>
- Enclosing class:
- XFunc
public static final class XFunc.MaxInteger 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 MaxInteger(int max)
-
Method Summary
-
Constructor Details
-
MaxInteger
public MaxInteger(int max)
-
-
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
-