how to specify your filter which do not get another value except the value which want in java code example
Example: java list addAll stream() filtereted
List<Person> beerDrinkers = persons.stream()
.filter(p -> p.getAge() > 16).collect(Collectors.toList());