I have a HashMap in Java, the contents of which (as you all probably know) can be accessed by
HashMap.get(\"keyname\");
If a have a HashMap
I hit this discussion while trying to figure out how to get a value from a nested map of unknown depth and it helped me come up with the following solution to my problem. It is overkill for the original question but maybe it will be helpful to someone that finds themselves in a situation where you have less knowledge about the map being searched.
private static Object pullNestedVal(
Map