java 1.7 using  Diamond operator