Answers for "how to filter data in java"

1

how to filter data in java

List<Person> beerDrinkers = persons.stream()
    .filter(p -> p.getAge() > 16).collect(Collectors.toList());
Posted by: Guest on November-08-2020

Code answers related to "how to filter data in java"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language