Comment by andre.ruediger: vararg convenience factory methods would be handy.
--- MutableArray<String> ma = makeSnackArray(); --- ImmutableArray<String> ia = ma.freeze();+++ 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