去掉List中的null

list.removeAll(Collections.singleton(null));
相關文章
相關標籤/搜索