import java.util.LinkedHashMap;
import java.util.Map;
import java.util.Set;
public class MapLinked {
public static void main(String[] args) {
Map<String,Map<String,String>> map = new LinkedHashMap<String,Map<String,String>>();
Map<String,String> map1 = new LinkedHashMap<String,String>();
Map<String,String> map2 = new LinkedHashMap<String,String>();
map1.put("1","a");
map2.put("2","b");
map1.put("3","c");
map2.put("4","d");
map.put("一",map1);
map.put("二",map2);
Set<String> keyset = map.keySet();
for(String key : keyset){
Map<String,String> tempmap = map.get(key);
Set<String> keyset1 = tempmap.keySet();
for(String keyValue : keyset1){
System.out.println(key + ":" + tempmap.get(keyValue));
}
}
}
}