Package one.microstream.functional
Class ToArrayAggregator<E>
java.lang.Object
one.microstream.functional.ToArrayAggregator<E>
- All Implemented Interfaces:
Consumer<E>,Aggregator<E,E[]>
public final class ToArrayAggregator<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 ToArrayAggregator(E[] array) -
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,E[]>- Returns:
- the collected object
-