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