Re: Gatherer JavaDoc

2025-06-19 Thread Viktor Klang
007e000cf838@5f3a4b84] jshell> Stream.of("foo", "bar", "baz").gather(s).toList() $2 ==> [foo, bar, baz, EOF] Cheers, √ Viktor Klang Software Architect, Java Platform Group Oracle ____ From: core-libs-dev on behalf of Cay Horstmann Sent: Thursd

Gatherer JavaDoc

2025-06-19 Thread Cay Horstmann
Hi, I have trio of minor questions about the Gatherer JavaDoc at https://download.java.net/java/early_access/jdk25/docs/api/java.base/java/util/stream/Gatherer.html 1. "Gatherers whose integrator is an instance of Gatherer.Integrator.Greedy can be assumed not to short-circuit, *and the r