在JDK1.8中,Collection以及其子类新加入了removeIf方法。removeIf() 方法用于删除所有满足特定条件的数组元素。 注意,集合中如果有null,在执行 list. … Continue reading removeIf的使用和实战
在JDK1.8中,Collection以及其子类新加入了removeIf方法。removeIf() 方法用于删除所有满足特定条件的数组元素。 注意,集合中如果有null,在执行 list. … Continue reading removeIf的使用和实战