Class StreamGatherersSecondPreviewNotes

java.lang.Object
net.jrodolfo.java_evolution.java23.StreamGatherersSecondPreviewNotes

public class StreamGatherersSecondPreviewNotes extends Object
Explains Stream Gatherers as a Java 23 second preview feature.

Streams had many built-in intermediate operations, but custom intermediate operations such as windowing, scanning, and batching were hard to express. Gatherers provide an extension point for those transformations.

  • Constructor Details

    • StreamGatherersSecondPreviewNotes

      public StreamGatherersSecondPreviewNotes()
  • Method Details

    • purpose

      public String purpose()
      Explains the feature goal.
      Returns:
      a short explanation
    • status

      public String status()
      Describes the feature status across releases.
      Returns:
      a short status note