Filling ArrayList with one line, sort of

Posted by & filed under Code Tips.

As a follow up to an earlier post on double braces in Java, came up with a short, but ugly way of filling an ArrayList via an array. Of course, at that point you might as well just do this.