List<Analyze> nullList=new ArrayList<Analyze>();
nullList.add(null);
list.removeAll(nullList);
return list;
list集合移除空元素
猜你喜欢
转载自blog.csdn.net/k_clound/article/details/76512243
今日推荐
周排行