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
You can do it like you assumed. But your HashMap has to be templated:
Map> map = new HashMap>();
Otherwise you have to do a cast to Map after you retrieve the second map from the first.
Map
Map map = new HashMap(); ((Map)map.get( "keyname" )).get( "nestedkeyname" );