3 ms·
This is where Google Collections comes in handy: Lists.newArrayList(1, 2, 3) Or, if you don't need to modify it: ImmutableList.of(1, 2, 3) Such an a
by codahale 17y ago
This is where Google Collections comes in handy:
Lists.newArrayList(1, 2, 3)
Or, if you don't need to modify it:
ImmutableList.of(1, 2, 3)
Such an awesome library.