场景:去掉 HashMap 中所有 Value 值为偶数的项
public class Test {
public static void main(String[] args) {
HashMap<String, Integer> myHashMap = new HashMap<>();
myHashMap.put("1", 1);
myHashMap
场景:去掉 HashMap 中所有 Value 值为偶数的项
public class Test {
public static void main(String[] args) {
HashMap<String, Integer> myHashMap = new HashMap<>();
myHashMap.put("1", 1);
myHashMap