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