Class Streams.ArrayCollector<E>
java.lang.Object
org.apache.commons.lang3.stream.Streams.ArrayCollector<E>
- Type Parameters:
E- The array type.
- Enclosing class:
Streams
A Collector type for arrays.
- Since:
- 3.11
-
Nested Class Summary
Nested classes/interfaces inherited from interface Collector
Collector.Characteristics -
Constructor Summary
ConstructorsConstructorDescriptionArrayCollector(Class<E> elementType) Constructs a new instance for the given element type. -
Method Summary
-
Constructor Details
-
ArrayCollector
Constructs a new instance for the given element type.- Parameters:
elementType- The element type.
-
-
Method Details