public final class ToArrayAggregator<E> extends Object implements Aggregator<E,E[]>
Aggregator.Creator<E,R>| Constructor and Description |
|---|
ToArrayAggregator(E[] array) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(E element)
Aggregate single element to the collecting object.
|
E[] |
yield()
Builds or aggregates the added elements to one collected object.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitresetpublic ToArrayAggregator(E[] array)
public void accept(E element)
Aggregatorpublic final E[] yield()
Aggregatoryield in interface Aggregator<E,E[]>Copyright © 2022 MicroStream Software. All rights reserved.