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