Package no.digipost.stream
package no.digipost.stream
-
ClassDescriptionCollectorDecorator<T,
A, R> BaseCollectorimplementation which delegates to (decorates) another Collector.A collector type specific for implementations which produce anOptionalbased on if the source (typically aStream, or more apropriately, aNonEmptyStream) yields no elements or any element(s).A stream which is guarantied to produce at least one element.Represents a function that accepts one argument and produces aNonEmptyStream.