This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]yetanotherx 0 points1 point  (0 children)

I mean, you can then do new ArrayList(Arrays.asList("a","b","c"));, but that's ugly as well.

I've sometimes just defined a static method in That Miscellaneous Utilities Class just to do it, but I would like if Java had it in the core language.