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