Answer the question
In order to leave comments, you need to log in
How to work with nested ArrayList in HashMap?
For example I have:
HashMap<Integer, ArrayList<String>> containerA = new HashMap<Integer, ArrayList<String>>();
Integer ea = 11;
containerA.put(ea, add("LOL"));//будет ошибка
containerA.get(ea).add("LOL");
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question