Java IntPredicate
Introduction In Java, the IntPredicate interface is a functional interface that represents a predicate (boolean-valued function) with a single int-valued argument. It is part of the java.util.function package and is used for testing conditions involving int values.