spring new hashmap code example
Example: new hashmap java
Map<String, String> myMap = new HashMap<String, String>() {{
put("a", "b");
put("c", "d");
}};
Map<String, String> myMap = new HashMap<String, String>() {{
put("a", "b");
put("c", "d");
}};