On Thu, 9 Nov 2023 14:21:55 GMT, Alan Bateman <al...@openjdk.org> wrote:

>> You mean "Returns a Gatherer which gathers elements into ..." ?
>
> Is "window" defined anywhere? If you are doing another pass over the docs 
> then the windowXXX methods could be expanded a bit to explain this grouping 
> concept. Also it could say that the last windows (if it exists, the empty 
> stream is the corner case) has at least one element.

@AlanBateman Good point. I may have assumed too much. Perhaps something along 
the lines of:

"Returns a Gatherer which gathers elements into windows -- encounter-ordered 
groups of elements -- …" ?

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/16420#discussion_r1388586922

Reply via email to