Collector.Characteristics| Constructor and Description |
|---|
TransformCollector(Function<io.vavr.collection.Stream<T>,U> function)
TransformCollector constructor.
|
| Modifier and Type | Method and Description |
|---|---|
BiConsumer<ArrayList<T>,T> |
accumulator()
The accumulator.
|
Set<Collector.Characteristics> |
characteristics()
Default set of characteristics.
|
BinaryOperator<ArrayList<T>> |
combiner() |
Function<ArrayList<T>,U> |
finisher()
The finisher has all the items in the list.
|
Supplier<ArrayList<T>> |
supplier()
The supplier.
|
static <T,U> TransformCollector<T,U> |
transform(Function<io.vavr.collection.Stream<T>,U> function)
as method.
|
public static <T,U> TransformCollector<T,U> transform(Function<io.vavr.collection.Stream<T>,U> function)
T - The collection type.U - The return type.function - The function to run on the full collection.public Supplier<ArrayList<T>> supplier()
public BiConsumer<ArrayList<T>,T> accumulator()
public BinaryOperator<ArrayList<T>> combiner()
public Function<ArrayList<T>,U> finisher()
public Set<Collector.Characteristics> characteristics()
Copyright © 2017. All rights reserved.