Uses of Interface
java.util.stream.Gatherer.Integrator
Packages that use Gatherer.IntegratorPREVIEW
Package
Description
Classes to support functional-style operations on streams of elements, such
as map-reduce transformations on collections.
-
Uses of Gatherer.IntegratorPREVIEW in java.util.stream
Subinterfaces of Gatherer.IntegratorPREVIEW in java.util.streamModifier and TypeInterfaceDescriptionstatic interfacePreview.Greedy Integrators consume all their input, and may only relay that the downstream does not want more elements.Methods in java.util.stream that return Gatherer.IntegratorPREVIEWModifier and TypeMethodDescriptionGatherer.integrator()A function which integrates provided elements, potentially using the provided intermediate state, optionally producing output to the providedGatherer.DownstreamPREVIEW.static <A,T, R> Gatherer.IntegratorPREVIEW <A, T, R> Gatherer.Integrator.of(Gatherer.IntegratorPREVIEW<A, T, R> integrator) Factory method for turning Integrator-shaped lambdas into Integrators.Methods in java.util.stream with parameters of type Gatherer.IntegratorPREVIEWModifier and TypeMethodDescriptionstatic <A,T, R> Gatherer.IntegratorPREVIEW <A, T, R> Gatherer.Integrator.of(Gatherer.IntegratorPREVIEW<A, T, R> integrator) Factory method for turning Integrator-shaped lambdas into Integrators.Gatherer.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) Returns a new, parallelizable, and statelessGathererdescribed by the givenintegrator.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) Returns a new, sequential,Gathererdescribed by the giveninitializerandintegrator.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) Returns a new, sequential, and statelessGathererdescribed by the givenintegrator.Gatherer.ofSequential(Gatherer.IntegratorPREVIEW<Void, T, R> integrator, BiConsumer<Void, Gatherer.DownstreamPREVIEW<? super R>> finisher) Returns a new, sequential, and statelessGathererdescribed by the givenintegratorandfinisher.