Showing posts with label diamond-operator. Show all posts
Showing posts with label diamond-operator. Show all posts

Wednesday, May 16, 2012

Java 7 diamond operator: why was it difficult to implement?


I watched the Oracle OTN Virtual Event: Java SE and JavaFX 2.0 (28 Feb 2012) and while talking about the new diamond operator (that Map<String, List<String>> myMap = new HashMap<>(); thing) the speaker mentioned that it was not as simpleto implement than one might think, as it is not a simple token replacement.