list.removeAll(Collections.singleton(null));
list去除所有为null元素
最新推荐文章于 2023-11-15 13:55:33 发布
list.removeAll(Collections.singleton(null));