O
- The array type.@Deprecated public static class Streams.ArrayCollector<O> extends Object implements Collector<O,List<O>,O[]>
Collector.Characteristics
Constructor and Description |
---|
ArrayCollector(Class<O> elementType)
Deprecated.
Constructs a new instance for the given element type.
|
Modifier and Type | Method and Description |
---|---|
BiConsumer<List<O>,O> |
accumulator()
Deprecated.
|
Set<Collector.Characteristics> |
characteristics()
Deprecated.
|
BinaryOperator<List<O>> |
combiner()
Deprecated.
|
Function<List<O>,O[]> |
finisher()
Deprecated.
|
Supplier<List<O>> |
supplier()
Deprecated.
|
public ArrayCollector(Class<O> elementType)
elementType
- The element type.public BiConsumer<List<O>,O> accumulator()
public Set<Collector.Characteristics> characteristics()
public BinaryOperator<List<O>> combiner()
Copyright © 2001–2023 The Apache Software Foundation. All rights reserved.