Package no.digipost.stream
Class CollectorDecorator<T,A,R>
java.lang.Object
no.digipost.stream.CollectorDecorator<T,A,R>
- All Implemented Interfaces:
Collector<T,A, R>
Base
Collector implementation which delegates to (decorates)
another Collector. Override individual methods to adapt any delegation.-
Nested Class Summary
Nested classes/interfaces inherited from interface java.util.stream.Collector
Collector.Characteristics -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
decoratedCollector
-
-
Constructor Details
-
CollectorDecorator
-
-
Method Details
-
supplier
-
accumulator
- Specified by:
accumulatorin interfaceCollector<T,A, R>
-
combiner
-
finisher
-
characteristics
- Specified by:
characteristicsin interfaceCollector<T,A, R>
-