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: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<E,Long>- Returns:
- the collected object
-