Dictionaries initialization in Java

//Empty dictionary
Map<Integer, String> d1 = new HashMap<Integer, String>();

//init with some data
Map<Integer, String> d2 = new HashMap<Integer, String>() {{
        put(1, "one");
        put(2, "two");
}};