📜  java list addAll stream() filtereted - Java 代码示例
📅  最后修改于: 2022-03-11 14:52:38.435000             🧑  作者: Mango
代码示例1
List beerDrinkers = persons.stream()
.filter(p -> p.getAge() > 16).collect(Collectors.toList());