Stream Gatherers in the Java Stream API

An introduction to Stream Gatherers introduced in Java 24, which allow you to write custom intermediate operations in the Stream API with state and complex logic.