Uses of Enum Class
java.util.stream.Collector.Characteristics
Packages that use Collector.Characteristics
Package
Description
Classes to support functional-style operations on streams of elements, such
as map-reduce transformations on collections.
-
Uses of Collector.Characteristics in java.util.stream
Methods in java.util.stream that return Collector.CharacteristicsModifier and TypeMethodDescriptionstatic Collector.CharacteristicsReturns the enum constant of this class with the specified name.static Collector.Characteristics[]Collector.Characteristics.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in java.util.stream that return types with arguments of type Collector.CharacteristicsModifier and TypeMethodDescriptionCollector.characteristics()Returns aSetofCollector.Characteristicsindicating the characteristics of this Collector.Methods in java.util.stream with parameters of type Collector.CharacteristicsModifier and TypeMethodDescriptionstatic <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) Returns a newCollectordescribed by the givensupplier,accumulator,combiner, andfinisherfunctions.static <T,R> Collector<T, R, R> Collector.of(Supplier<R> supplier, BiConsumer<R, T> accumulator, BinaryOperator<R> combiner, Collector.Characteristics... characteristics) Returns a newCollectordescribed by the givensupplier,accumulator, andcombinerfunctions.