On 9/11/07, Richard Warburton <[EMAIL PROTECTED]> wrote:
> In java we could get a similarly concise effect, with no hacking in
> syntactic sugar to solve these problems, I am thinking of a syntax
> along the lines of:
>
> List intList = new ArrayList(1,2,3);
Most welcome!
The one-liner I use is
n
I hope this is the correct mailing list to discuss such an idea,
please correct me if I'm wrong, but core-libs sounded like it included
collections api.
Within Java we have a sugared syntax for initialising arrays, so for
example we can write this:
int[] intArray = {1,2,3};
However, list initial