Package | Description |
---|---|
java.util.stream |
Modifier and Type | Method and Description |
---|---|
static Collector.Characteristics |
Collector.Characteristics.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Collector.Characteristics[] |
Collector.Characteristics.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Set<Collector.Characteristics> |
Collector.characteristics() |
Modifier and Type | Method and Description |
---|---|
static <T,A,R> Collector<T,A,R> |
Collector.of(Supplier<A> supplier,
BiConsumer<A,T> accumulator,
BinaryOperator<A> combiner,
Function<A,R> finisher,
Collector.Characteristics... characteristics) |
static <T,R> Collector<T,R,R> |
Collector.of(Supplier<R> supplier,
BiConsumer<R,T> accumulator,
BinaryOperator<R> combiner,
Collector.Characteristics... characteristics) |
Copyright © 2018. All rights reserved.