Package one.microstream.functional
Class AggregateArrayBuilder<E>
- java.lang.Object
-
- one.microstream.functional.AggregateArrayBuilder<E>
-
- All Implemented Interfaces:
Consumer<E>
,Aggregator<E,E[]>
public final class AggregateArrayBuilder<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 AggregateArrayBuilder()
-
Method Summary
Modifier and Type Method Description void
accept(E element)
static AggregateArrayBuilder<Object>
New()
static <E> AggregateArrayBuilder<E>
New(Class<E> elementType)
static <E> AggregateArrayBuilder<E>
New(Class<E> elementType, int initialCapacity)
E[]
yield()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface one.microstream.functional.Aggregator
reset
-
-
-
-
Method Detail
-
New
public static final AggregateArrayBuilder<Object> New()
-
New
public static final <E> AggregateArrayBuilder<E> New(Class<E> elementType)
-
New
public static final <E> AggregateArrayBuilder<E> New(Class<E> elementType, int initialCapacity)
-
accept
public final void accept(E element)
-
yield
public final E[] yield()
- Specified by:
yield
in interfaceAggregator<E,E[]>
-
-