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