What is the purpose of Predicate<T> functional interface in Java8?
It represents a predicate (Boolean-valued function) of one argument.