java.util.function

Java functional interfaces provide target types for Java lambda expressions and Java method references.

https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/function/package-summary.html