Streams.ArrayCollector¶
- public static class org.apache.commons.lang3.stream.Streams.ArrayCollector<E> implements Collector<E, List<E>, E[]>[source]¶
A Collector type for arrays.
- Parameters:
<E> – The array type.
Constructors¶
Constructs a new instance for the given element type. |
Methods¶
- @Override public BiConsumer<List<E>, E> accumulator()[source]¶
- @Override public Set<Collector.Characteristics> characteristics()[source]¶
- @Override public BinaryOperator<List<E>> combiner()[source]¶