HashMap<和HashMap><String2,>Integer1 + Integer2>和HashMap>
看到hashmap包含Map(Key, Value),所以如果你想合并hashmap,那么你正在改变键。如果你想添加多个键可以使用
Map<Map.Entry<String,String>, Integer> map = new HashMap<>();
map.put(Map.entry("onekey", "2nd Keys"), 0);