去掉List中的null

list.removeAll(Collections.singleton(null));
相关文章
相关标签/搜索