Java java.util.stream Collector fields, constructors, methods, implement or subclass

Example usage for Java java.util.stream Collector fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.util.stream Collector.

The text is from its open source code.

Implementation

java.util.stream.Collector has the following implementations.
Click this link to see all its implementation.

Constructor

Method

BiConsumeraccumulator()
A function that folds a value into a mutable result container.
Setcharacteristics()
Returns a Set of Collector.Characteristics indicating the characteristics of this Collector.
BinaryOperatorcombiner()
A function that accepts two partial results and merges them.
Functionfinisher()
Perform the final transformation from the intermediate accumulation type A to the final result type R .
Collectorof(Supplier supplier, BiConsumer accumulator, BinaryOperator combiner, Characteristics... characteristics)
Returns a new Collector described by the given supplier , accumulator , and combiner functions.
Collectorof(Supplier supplier, BiConsumer accumulator, BinaryOperator combiner, Function finisher, Characteristics... characteristics)
Returns a new Collector described by the given supplier , accumulator , combiner , and finisher functions.
Suppliersupplier()
A function that creates and returns a new mutable result container.