小铺有酒一两不够
java8使用filter(Objects::nonNull) 过滤null
阅读 127
2023-02-13
list.stream().filter(Objects::nonNull).collect(Collectors.toList());
相关推荐
精彩评论(0)