Package one.microstream.functional
Class AggregateArrayAdder<E>
java.lang.Object
one.microstream.functional.AggregateArrayAdder<E>
- All Implemented Interfaces:
Consumer<E>,Aggregator<E,Integer>
public final class AggregateArrayAdder<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 AggregateArrayAdder(Predicate<? super E> predicate, E[] array, int i) -
Method Summary
-
Constructor Details
-
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,Integer>- Returns:
- the collected object
-