Streams.ArrayCollector
- @Deprecated public static class org.apache.commons.lang3.Streams.ArrayCollector<O> implements Collector<O, List<O>, O[]>[source]
Deprecated: Use
Streams.ArrayCollector.A Collector type for arrays.
- Type parameters:
<O> – The array type.
Constructors
Constructs a new instance for the given element type. |
Methods
|
||
|
||
- public BiConsumer<List<O>, O> accumulator()[source]
- Specified by:
accumulatorin interfaceCollector
- public Set<Collector.Characteristics> characteristics()[source]
- Specified by:
characteristicsin interfaceCollector