Ответсообщение недоступно
вот ии близнецы пишет:
The Java Stream Gatherer API (finalized in JDK 24 via JEP 485) allows developers to build custom, reusable intermediate stream operations. It bridges a major gap in Java's Stream API by enabling complex tasks—like sliding windows, running totals, and early stream termination—that previously required writing clunky, imperative workarounds