Skip to content

A function taking a function

java list.stream().filter(s -> s.getScore() > 80).toList()

filter takes a function as an argument. What does this replace?