Tag Archives: predicate

Java Predicate

Java Predicate is a functional interface that is part of Java.util.function package. It was introduced in Java 8. It represents a single argument function that returns a boolean value. A Predicate takes an input and returns either true or false, depending on the condition that is specified in the function. Using predicate to check if Continue Reading »