Proposal Extending API for Streams (or other potentially long builder or chain calls)

2018-10-29 Thread Constantine Plotnikov
Hello All! This email was previously filled as a feature request for JDK, I was forwarded here to write it as an email. Currently, if one needs to skip some stage or provide a group of reused stages one to have to do the following: Stream s = collection.stream() .map(a -> doIt(a, bb)) .

Re: Proposal Extending API for Streams (or other potentially long builder or chain calls)

2018-11-01 Thread Constantine Plotnikov
ntin Plotnikov On Mon, Oct 29, 2018 at 8:46 PM Ivan Gerasimov wrote: > Hello Constantine! > It seems that a request for such method was made in JDK-8210372 > <https://bugs.openjdk.java.net/browse/JDK-8210372>. > I like the method name chain(), proposed in that request. > >