Example:
Creating and populating the maps
Map> outerMap = new HashMap>();
Map innerMap = new HashMap();
innerMap.put("innerKey", new Value());
Storing a map
outerMap.put("key", innerMap);
Retrieving a map and its values
Map map = outerMap.get("key");
Value value = map.get("innerKey");