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.
- Type parameters:
<E> – The array type.
Constructors
Constructs a new instance for the given element type. |
Methods
|
||
|
||
- public BiConsumer<List<E>, E> accumulator()[source]
- Specified by:
accumulatorin interfaceCollector
- public Set<Collector.Characteristics> characteristics()[source]
- Specified by:
characteristicsin interfaceCollector