please review draft JEP: Convenience Factory Methods for Collections

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



On 18 Jul 2014, at 10:09, Wang Weijun <weijun.wang at oracle.com> 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
Saxonica




More information about the core-libs-dev mailing list