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.
- All Implemented Interfaces:
java.util.stream.Collector<O,java.util.List<O>,O[]>
- Enclosing class:
- Streams
@Deprecated public static class Streams.ArrayCollector<O> extends java.lang.Object implements java.util.stream.Collector<O,java.util.List<O>,O[]>
Deprecated.A Collector type for arrays.
-
-
Constructor Summary
Constructors Constructor Description ArrayCollector(java.lang.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 java.util.function.BiConsumer<java.util.List<O>,O>
accumulator()
Deprecated.java.util.Set<java.util.stream.Collector.Characteristics>
characteristics()
Deprecated.java.util.function.BinaryOperator<java.util.List<O>>
combiner()
Deprecated.java.util.function.Function<java.util.List<O>,O[]>
finisher()
Deprecated.java.util.function.Supplier<java.util.List<O>>
supplier()
Deprecated.
-
-
-
Constructor Detail
-
ArrayCollector
public ArrayCollector(java.lang.Class<O> elementType)
Deprecated.Constructs a new instance for the given element type.- Parameters:
elementType
- The element type.
-
-
Method Detail
-
supplier
public java.util.function.Supplier<java.util.List<O>> supplier()
Deprecated.
-
combiner
public java.util.function.BinaryOperator<java.util.List<O>> combiner()
Deprecated.
-
-