Re: Gatherers -- conditionalWindowFixed?

2024-08-04 Thread David Alayachew
s, >> √ >> >> >> *Viktor Klang* >> Software Architect, Java Platform Group >> Oracle >> >> >> -- >> *From:* Remi Forax >> *Sent:* Wednesday, 10 January 2024 19:16 >> *To:* Viktor Klang >> *Cc:*

Re: Gatherers -- conditionalWindowFixed?

2024-01-27 Thread David Alayachew
; *From:* Remi Forax > *Sent:* Wednesday, 10 January 2024 19:16 > *To:* Viktor Klang > *Cc:* David Alayachew ; core-libs-dev < > core-libs-dev@openjdk.org> > *Subject:* [External] : Re: Gatherers -- conditionalWindowFixed? > > > > -- > >

Re: Gatherers -- conditionalWindowFixed?

2024-01-10 Thread Viktor Klang
nal] : Re: Gatherers -- conditionalWindowFixed? From: "Viktor Klang" To: "David Alayachew" , "core-libs-dev" Sent: Wednesday, January 10, 2024 2:33:45 PM Subject: Re: Gatherers -- conditionalWindowFixed? Hi David! Apologies for the late r

Re: Gatherers -- conditionalWindowFixed?

2024-01-10 Thread Remi Forax
> From: "Viktor Klang" > To: "David Alayachew" , "core-libs-dev" > > Sent: Wednesday, January 10, 2024 2:33:45 PM > Subject: Re: Gatherers -- conditionalWindowFixed? > Hi David! > Apologies for the late reply, there's been lots of catchi

Re: Gatherers -- conditionalWindowFixed?

2024-01-10 Thread Viktor Klang
ftware Architect, Java Platform Group Oracle ____ From: core-libs-dev on behalf of David Alayachew Sent: Wednesday, 10 January 2024 07:05 To: core-libs-dev@openjdk.org Subject: Gatherers -- conditionalWindowFixed? Hello Core Libs Dev Team, I have been reading throug

Re: Gatherers -- conditionalWindowFixed?

2024-01-10 Thread Remi Forax
> From: "Remi Forax" > To: "David Alayachew" > Cc: "core-libs-dev" > Sent: Wednesday, January 10, 2024 8:19:15 AM > Subject: Re: Gatherers -- conditionalWindowFixed? > Hello David, > testing the gatherer api, I also wanted a "window&

Re: Gatherers -- conditionalWindowFixed?

2024-01-09 Thread Remi Forax
quot;core-libs-dev" > Sent: Wednesday, January 10, 2024 7:19:26 AM > Subject: Re: Gatherers -- conditionalWindowFixed? > And this may also be better named as a split method instead of the long > conditionalWindowFixed. > On Wed, Jan 10, 2024 at 1:17 AM David Alayachew <

Re: Gatherers -- conditionalWindowFixed?

2024-01-09 Thread David Alayachew
And this may also be better named as a split method instead of the long conditionalWindowFixed. On Wed, Jan 10, 2024 at 1:17 AM David Alayachew wrote: > Oh, I made a mistake. Let me try it again. > > If the predicate is true, add the element to the current list (create list > prior if needed). E

Re: Gatherers -- conditionalWindowFixed?

2024-01-09 Thread David Alayachew
Oh, I made a mistake. Let me try it again. If the predicate is true, add the element to the current list (create list prior if needed). Else if the predicate is false, send the list down to the stream, then add the element to a new list (the new current list, if you will). On Wed, Jan 10, 2024 a

Gatherers -- conditionalWindowFixed?

2024-01-09 Thread David Alayachew
Hello Core Libs Dev Team, I have been reading through JEP 461 (https://openjdk.org/jeps/461) about Gatherers, and I'm really excited for what this will enable for us. By far, the most important functionality that this API facilitates is the ability to create windows. Anytime I needed a window, I