Re: JDK-8198620: New Convenient-Methods for java.util.stream.Stream

2018-10-18 Thread Brian Goetz
I still don't think this one clears the bar. On 10/18/2018 2:44 PM, Nir Lisker wrote: Hi, A while back I commented on the suggestion to deal with an annoyance of casting in a stream [1]. I brought an argument that was used in project Amber for a similar case. Like Tagir Valeev, I also see the

JDK-8198620: New Convenient-Methods for java.util.stream.Stream

2018-10-18 Thread Nir Lisker
Hi, A while back I commented on the suggestion to deal with an annoyance of casting in a stream [1]. I brought an argument that was used in project Amber for a similar case. Like Tagir Valeev, I also see the filter-then-map pattern in various projects I work on. I would like to know if this