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