Uses of Interface java.util.stream.Gatherer.Integrator (Java SE 23 & JDK 23)
Description: use: module: java.base, package: java.util.stream, interface: Gatherer, interface: Integrator

# Uses of Interface
java.util.stream.Gatherer.Integrator

Packages that use Gatherer.IntegratorPREVIEW
Package
Description
java.util.stream
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.stream
  Modifier and Type
  Interface
  Description
  `static interface`
  `Gatherer.Integrator.GreedyPREVIEW<A,T,R>`
  Preview.
  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.IntegratorPREVIEW
  Modifier and Type
  Method
  Description
  `Gatherer.IntegratorPREVIEW<A,T,R>`
  Gatherer.`integrator()`
  A function which integrates provided elements, potentially using the provided intermediate state, optionally producing output to the provided `Gatherer.Downstream`PREVIEW.
  `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.IntegratorPREVIEW
  Modifier and Type
  Method
  Description
  `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.
  `static <T, A, R> GathererPREVIEW<T,A,R>`
  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, `Gatherer` described by the given `initializer`, `integrator`, `combiner` and `finisher`.
  `static <T, R> GathererPREVIEW<T,Void,R>`
  Gatherer.`of(Gatherer.IntegratorPREVIEW<Void,T,R> integrator)`
  Returns a new, parallelizable, and stateless `Gatherer` described by the given `integrator`.
  `static <T, R> GathererPREVIEW<T,Void,R>`
  Gatherer.`of(Gatherer.IntegratorPREVIEW<Void,T,R> integrator, BiConsumer<Void,Gatherer.DownstreamPREVIEW<? super R>> finisher)`
  Returns a new, parallelizable, and stateless `Gatherer` described by the given `integrator` and `finisher`.
  `static <T, A, R> GathererPREVIEW<T,A,R>`
  Gatherer.`ofSequential(Supplier<A> initializer, Gatherer.IntegratorPREVIEW<A,T,R> integrator)`
  Returns a new, sequential, `Gatherer` described by the given `initializer` and `integrator`.
  `static <T, A, R> GathererPREVIEW<T,A,R>`
  Gatherer.`ofSequential(Supplier<A> initializer, Gatherer.IntegratorPREVIEW<A,T,R> integrator, BiConsumer<A,Gatherer.DownstreamPREVIEW<? super R>> finisher)`
  Returns a new, sequential, `Gatherer` described by the given `initializer`, `integrator`, and `finisher`.
  `static <T, R> GathererPREVIEW<T,Void,R>`
  Gatherer.`ofSequential(Gatherer.IntegratorPREVIEW<Void,T,R> integrator)`
  Returns a new, sequential, and stateless `Gatherer` described by the given `integrator`.
  `static <T, R> GathererPREVIEW<T,Void,R>`
  Gatherer.`ofSequential(Gatherer.IntegratorPREVIEW<Void,T,R> integrator, BiConsumer<Void,Gatherer.DownstreamPREVIEW<? super R>> finisher)`
  Returns a new, sequential, and stateless `Gatherer` described by the given `integrator` and `finisher`.