3 ms·
You can now do HashMap<String,ArrayList<String>> map = new HashMap<>(); in Java 7 http://docs.oracle.com/javase/tutorial/java/generics/gentypes.html#diamond
by benjiweber 15y ago
You can now do
HashMap<String,ArrayList<String>> map = new HashMap<>();
in Java 7 http://docs.oracle.com/javase/tutorial/java/generics/gentypes.html#diamond http://docs.oracle.com/javase/tutorial/java/generics/gentype...