try this..
HashMap<Integer, List<String>> map = new HashMap<>();
List<String> list = new ArrayList<>();
list.add("a");
list.add("b");
list.add("c");
map.put(1, list);
4
solved how to put values into HashMap
try this..
HashMap<Integer, List<String>> map = new HashMap<>();
List<String> list = new ArrayList<>();
list.add("a");
list.add("b");
list.add("c");
map.put(1, list);
4
solved how to put values into HashMap