public class ArrayCollector extends Object implements Collector<Object,ArrayCollector,ArrayCollector>, Supplier<ArrayCollector>
Collector.Characteristics
Constructor and Description |
---|
ArrayCollector(Object[] array) |
Modifier and Type | Method and Description |
---|---|
BiConsumer<ArrayCollector,Object> |
accumulator() |
void |
add(Object item) |
Set<Collector.Characteristics> |
characteristics() |
BinaryOperator<ArrayCollector> |
combiner() |
Function<ArrayCollector,ArrayCollector> |
finisher() |
ArrayCollector |
get() |
Supplier<ArrayCollector> |
supplier() |
public ArrayCollector(Object[] array)
public void add(Object item)
public Supplier<ArrayCollector> supplier()
supplier
in interface Collector<Object,ArrayCollector,ArrayCollector>
public ArrayCollector get()
get
in interface Supplier<ArrayCollector>
public BiConsumer<ArrayCollector,Object> accumulator()
accumulator
in interface Collector<Object,ArrayCollector,ArrayCollector>
public BinaryOperator<ArrayCollector> combiner()
combiner
in interface Collector<Object,ArrayCollector,ArrayCollector>
public Function<ArrayCollector,ArrayCollector> finisher()
finisher
in interface Collector<Object,ArrayCollector,ArrayCollector>
public Set<Collector.Characteristics> characteristics()
characteristics
in interface Collector<Object,ArrayCollector,ArrayCollector>
Copyright © 2021 JBoss by Red Hat. All rights reserved.