Hi all,

Please review this draft JEP for Convenience Factory Methods for Collections:

    https://bugs.openjdk.java.net/browse/JDK-8048330

Brief background: several times over the years there have been proposals to add "collection literals" to the language. The most recent round of this was in regard to JEP 186, a research JEP to explore this topic. That effort was concluded by Brian Goetz, as summarized in this email:

    http://mail.openjdk.java.net/pipermail/lambda-dev/2014-March/011938.html

Essentially, the idea of adding collection literals to the language was set aside in favor of adding some library APIs, not entirely unlike collection literals, that make it more convenient to create collections. That's what this proposal is.

Share and enjoy,

s'marks

Reply via email to