Re: Seing a Collector as a Gatherer

2024-01-18 Thread Viktor Klang
Klang Software Architect, Java Platform Group Oracle From: fo...@univ-mlv.fr Sent: Wednesday, 17 January 2024 21:16 To: Viktor Klang Cc: core-libs-dev Subject: [External] : Re: Seing a Collector as a Gatherer From: "Viktor

Re: Seing a Collector as a Gatherer

2024-01-17 Thread forax
> From: "Viktor Klang" > To: "Remi Forax" > Sent: Wednesday, January 17, 2024 6:01:38 PM > Subject: Re: Seing a Collector as a Gatherer > Hi Rémi, > Yes, this was something I was hoping to get into the preview, but I wasn't > sure > where

Re: Seing a Collector as a Gatherer

2024-01-17 Thread Viktor Klang
Hi Rémi, Yes, this was something I was hoping to get into the preview, but I wasn't sure where that conversion should end up. There are a few different places where it might go: Gatherer.of(Collector) Gatherers.collect(Collector) Collector.asGatherer() Collectors.gather(Collector) I wasn't rea