E
- The array type.public static class Streams.ArrayCollector<E>
extends java.lang.Object
implements java.util.stream.Collector<E,java.util.List<E>,E[]>
Constructor and Description |
---|
ArrayCollector(java.lang.Class<E> elementType)
Constructs a new instance for the given element type.
|
Modifier and Type | Method and 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() |
public ArrayCollector(java.lang.Class<E> elementType)
elementType
- The element type.public java.util.Set<java.util.stream.Collector.Characteristics> characteristics()
public java.util.function.BinaryOperator<java.util.List<E>> combiner()
Copyright © 2010 - 2023 Adobe. All Rights Reserved