please review draft JEP: Convenience Factory Methods for Collections

Michael Kay mike at
Fri Jul 18 09:17:49 UTC 2014

On 18 Jul 2014, at 10:09, Wang Weijun < at> wrote:

> A .with(k, v) to create a new immutable map with an extra pair.

Yes, that's the same as my A.add(k,v) -> A proposal.

Works whether A is mutable or immutable.

Michael Kay

More information about the core-libs-dev mailing list