Thursday, December 3, 2009

JDK 7 Milestone 5

(From an article taken from http://www.infoq.com/news/2009/11/jdk7m5)

Instead of writing:

Map <String, List<String>> anagrams = new HashMap<String, List<String>>();

Take a look at what you can do with the upcoming version 7 of Java:

Map<String, List<String>> anagrams = new HashMap<>();



~ The less I have to write to get my code completed - the better!

0 comments:

Post a Comment