Package no.digipost.stream
-
Interface Summary Interface Description EmptyResultIfEmptySourceCollector<T,A,R> 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). -
Class Summary Class Description CollectorDecorator<T,A,R> BaseCollectorimplementation which delegates to (decorates) another Collector.NonEmptyStream<T> A stream which is guarantied to produce at least one element.