What is the best way to access a HashMap of SortedSet entries?
Answer
Correct Answer: Map String, SortedSet String>>makeSetMap = new HashMap String, SortedSet String>>(); for (String key : makeSetMap.keySet()) { // loop through all manufacturers SortedSet String> cars = makeSetMap.get(key); for (String c : cars) { // loop through all cars of that key System.out.println(key + " " + c); } }
Explanation:
Note: This Question is unanswered, help us to find answer for this one