Class StreamGatherersSecondPreviewNotes

java.lang.Object
net.jrodolfo.java_evolution.java23.stream_gatherers.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

    • problemSolved

      public String problemSolved()
      Explains the feature goal.
      Returns:
      a short explanation
    • java22Connection

      public String java22Connection()
      Explains the Java 22 connection.
      Returns:
      a short explanation
    • java23Status

      public String java23Status()
      Explains the Java 23 status.
      Returns:
      a short explanation
    • nextStep

      public String nextStep()
      Points learners to the final Java 24 example.
      Returns:
      a short next-step note
    • status

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