JEP 186: Collection Literals

Olexandr Demura oleksander.demura at gmail.com
Tue Jan 14 07:37:34 PST 2014


does anybody know if somewhere exists summary for
discussion of "Collection Literal" proposal rejected in project coin?
http://mail.openjdk.java.net/pipermail/coin-dev/2009-March/001193.html
http://mail.openjdk.java.net/pipermail/coin-dev/2009-March/001108.html
to not have it repeated here statement after statement.

2014/1/14 Millies, Sebastian <Sebastian.Millies at softwareag.com>

> I would certainly expect it to be an immutable list, and I believe the
> proposal of having collection literals makes most sense in the context of
> persistent collections. This would be in keeping with evolving Java towards
> a more functional and parallel-friendly programming style, which entails
> embracing immutability. In contrast, what's to be gained from a shorter
> version of Arrays.asList() ?  -- Sebastian
>


More information about the lambda-dev mailing list