How would I go about iterating through a nested HashMap?
The HashMap is setup like this:
HashMap
Java 8 lambdas and Map.forEach make bkail's answer more concise:
outerMap.forEach((letter, nestedMap) -> { //... nestedMap.forEach((name, student) -> { //... }); //... });