Stream Gatherer

Turkish equivalent: Akış toplayıcısıDomain: Java and JVM

A Java Stream extension mechanism that supports stateful custom intermediate operations beyond the fixed set of built-in stream transformations.

JVM Runtime Context

Stream Gatherers extend Java Streams with custom stateful intermediate operations such as windowing, scans, batching, or other transformations that do not fit the fixed built-in operator set. An integrator manages state and controls how results are pushed downstream.

API Boundary

A Gatherer is an intermediate stream transformation rather than a terminal collector. It participates in pipeline evaluation and can have different state and short-circuiting behavior from Collector.

  • Java Stream
  • Pipeline
  • Stateful Transformation
  • Functional Programming

Source

  • https://openjdk.org/jeps/485