Streams.ArrayCollector

@Deprecated public static class org.apache.commons.lang3.Streams.ArrayCollector<O> implements Collector<O, List<O>, O[]>[source]

A Collector type for arrays.

Parameters:

<O> – The array type.

Constructors

ArrayCollector(Class)

Constructs a new instance for the given element type.

public ArrayCollector(Class<O> elementType)[source]

Constructs a new instance for the given element type.

Parameters:

elementType – The element type.

Methods

@Override public BiConsumer<List<O>, O> accumulator()[source]
@Override public Set<Collector.Characteristics> characteristics()[source]
@Override public BinaryOperator<List<O>> combiner()[source]
@Override public Function<List<O>, O[]> finisher()[source]
@Override public Supplier<List<O>> supplier()[source]