Uses of Interface
java.util.stream.Gatherer.Downstream
Packages that use Gatherer.DownstreamPREVIEW
Package
Description
Classes to support functional-style operations on streams of elements, such
 as map-reduce transformations on collections.
- 
Uses of Gatherer.DownstreamPREVIEW in java.util.streamMethods in java.util.stream that return types with arguments of type Gatherer.DownstreamPREVIEWModifier and TypeMethodDescriptionstatic <A,R> BiConsumer <A, Gatherer.DownstreamPREVIEW<? super R>> Gatherer.defaultFinisher()Returns afinisherwhich is the default finisher of aGatherer.default BiConsumer<A, Gatherer.DownstreamPREVIEW<? super R>> Gatherer.finisher()A function which accepts the final intermediate state and aGatherer.DownstreamPREVIEW object, allowing to perform a final action at the end of input elements.Methods in java.util.stream with parameters of type Gatherer.DownstreamPREVIEWModifier and TypeMethodDescriptionbooleanPerforms an action given: the current state, the next element, and a downstream object; potentially inspecting and/or updating the state, optionally sending any number of elements downstream -- and then returns whether more elements are to be consumed or not.Method parameters in java.util.stream with type arguments of type Gatherer.DownstreamPREVIEWModifier and TypeMethodDescriptionGatherer.of(Supplier<A> initializer, Gatherer.IntegratorPREVIEW<A, T, R> integrator, BinaryOperator<A> combiner, BiConsumer<A, Gatherer.DownstreamPREVIEW<? super R>> finisher) Returns a new, parallelizable,Gathererdescribed by the giveninitializer,integrator,combinerandfinisher.Gatherer.of(Gatherer.IntegratorPREVIEW<Void, T, R> integrator, BiConsumer<Void, Gatherer.DownstreamPREVIEW<? super R>> finisher) Returns a new, parallelizable, and statelessGathererdescribed by the givenintegratorandfinisher.Gatherer.ofSequential(Supplier<A> initializer, Gatherer.IntegratorPREVIEW<A, T, R> integrator, BiConsumer<A, Gatherer.DownstreamPREVIEW<? super R>> finisher) Returns a new, sequential,Gathererdescribed by the giveninitializer,integrator, andfinisher.Gatherer.ofSequential(Gatherer.IntegratorPREVIEW<Void, T, R> integrator, BiConsumer<Void, Gatherer.DownstreamPREVIEW<? super R>> finisher) Returns a new, sequential, and statelessGathererdescribed by the givenintegratorandfinisher.