Map迭代器遍历过程中,remove报错问题
Map<String, Integer> myHashMap = new IdentityHashMap<>();//IdentityHashMap类型可以put相同key myHashMap.put("1", 1); myHashMap.put("21", 21); myHashMap.put("31", 41); myHashMap.put("51"