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