Java Stream Gatherers: Build Stateful Intermediate Operations
Use Java stream gatherers for windows, scans, concurrent mapping, and custom short-circuiting while preserving pipeline and parallelism contracts.
Java technical articles
Clear explanations of the details that shape real programs.
Explore virtual threads, pattern matching, reflection, stream pipelines, native memory, and the version details that change how Java code behaves.
5 articles
Use Java stream gatherers for windows, scans, concurrent mapping, and custom short-circuiting while preserving pipeline and parallelism contracts.
Use Java 25 scoped values for immutable request context, understand rebinding and restoration, and avoid ThreadLocal lifetime and inheritance traps.
Use sealed types and record patterns to make Java switches exhaustive, preserve compiler checks during evolution, and handle null and binary changes.
Prepare for JDK 26 final-field mutation warnings, locate reflective writes with debug mode or JFR, and scope temporary module permissions safely.
Use Java virtual threads for high-throughput blocking work, limit scarce resources with semaphores, and diagnose the pinning that remains in JDK 25.