Package org.apache.commons.lang3
Class Streams.ArrayCollector<O>
- java.lang.Object
-
- org.apache.commons.lang3.Streams.ArrayCollector<O>
-
- Type Parameters:
O- The array type.
- Enclosing class:
- Streams
@Deprecated public static class Streams.ArrayCollector<O> extends Object implements Collector<O,List<O>,O[]>
Deprecated.A Collector type for arrays.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface java.util.stream.Collector
Collector.Characteristics
-
-
Constructor Summary
Constructors Constructor Description ArrayCollector(Class<O> elementType)Deprecated.Constructs a new instance for the given element type.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description BiConsumer<List<O>,O>accumulator()Deprecated.Set<Collector.Characteristics>characteristics()Deprecated.BinaryOperator<List<O>>combiner()Deprecated.Function<List<O>,O[]>finisher()Deprecated.Supplier<List<O>>supplier()Deprecated.
-
-
-
Constructor Detail
-
ArrayCollector
public ArrayCollector(Class<O> elementType)
Deprecated.Constructs a new instance for the given element type.- Parameters:
elementType- The element type.
-
-
Method Detail
-
accumulator
public BiConsumer<List<O>,O> accumulator()
Deprecated.
-
combiner
public BinaryOperator<List<O>> combiner()
Deprecated.
-
characteristics
public Set<Collector.Characteristics> characteristics()
Deprecated.
-
-