JEP 186: Collection Literals

Tom Hawtin tom.hawtin at oracle.com
Thu Feb 20 13:26:35 PST 2014


On 20/02/2014 19:55, Zhong Yu wrote:
> but they all suck. We need literals for pair/tuples badly. Not so much
> for homogeneous collections.

Not necessarily tuples. I think that discussion was done thoroughly two 
or three years ago, probably on the coin list. Now concise way of 
obtaining a value with type determined by the target type (needn't be a 
*new instance*), I can see a need for.

Tom



More information about the lambda-dev mailing list