News for hackers. Stuff that matters.
Re:Java 7 - What's new? Release date, code examples and perf... by ericlavigne on Sunday April 11, 2010 @05:08PM (#1257606)
Or use Google Collections in Java 1.5 or higher.

http://code.google.com/p/google-collections/

List<String> list1 = Lists.newArrayList("item"); List<String> list2 = Lists.newArrayList("item1","item2");

Of course, none of these workarounds are close to what Java 7 offers. Just a few more months :-)

Re:Java 7 - What's new? Release date, code examples and perf... by vlisivka on Sunday April 11, 2010 @07:09PM (#1257874)
> Or use Google Collections in Java 1.5 or higher.

See Sandman reply.