Comment by andre.ruediger:

vararg convenience factory methods would be handy.

so

{{{
MutableArray<String> ma = makeSnackArray();
ImmutableArray<String> ia = ma.freeze();
}}}

could become

{{{
ImmutableArray<String> ia = createImmutableArray("apple", "banana", "coconut", "donut");
}}}


For more information:
http://code.google.com/p/google-web-toolkit/wiki/LightweightCollections

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to