Why no methods like toList() / toMutableList() / toSet() / toMutableSet() on Java Collection and Stream interfaces ?

Tobias Gierke tobias.gierke at code-sourcery.de
Tue Mar 19 09:04:02 UTC 2019


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://bugs.openjdk.java.net/browse/JDK-8180352
> вт, 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

More information about the discuss mailing list