Why no methods like toList() / toMutableList() / toSet() / toMutableSet() on Java Collection and Stream interfaces ?
adam.farley at uk.ibm.com
Tue Mar 19 09:17:09 UTC 2019
It might not help you right now, but you get an account (for the issues
db) when you become an Author.
The criteria for becoming an author is just pair of small commits.
"discuss" <discuss-bounces at openjdk.java.net> wrote on 19/03/2019 09:04:02:
> From: Tobias Gierke <tobias.gierke at code-sourcery.de>
> To: Zheka Kozlov <orionllmain at gmail.com>
> Cc: discuss at openjdk.java.net
> Date: 19/03/2019 09:05
> Subject: Re: Why no methods like toList() / toMutableList() / toSet
> () / toMutableSet() on Java Collection and Stream interfaces ?
> Sent by: "discuss" <discuss-bounces at openjdk.java.net>
> Thanks for the pointer ! Is there still no way for mere mortals (read:
> non-OpenJDK committers) to comment or vote on issues ? I couldn't find
> any "create account" button and a quick Google search turned up a
> StackOverflow post from 2015
> that basically says "Not possible".
> > Stream.toList(): https://urldefense.proofpoint.com/v2/url?
> > вт, 19 мар. 2019 г. в 15:14, Tobias Gierke
> > <tobias.gierke at code-sourcery.de <mailto:tobias.gierke at code-sourcery.de
> > Hi,
> > This has probably been asked before but I somehow couldn't find a
> > JEP
> > were this proposal got rejected... adding these methods to me
> > seems like
> > an easy way to get rid of a lot of boilerplate code.
> > Cheers,
> > Tobias
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
More information about the discuss