Interface ThrowingPredicate<T,E extends Exception>

Type Parameters:
T - the type of the input to the function
E - the type of the thrown checked exception
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ThrowingPredicate<T,E extends Exception>
Represents a function that accepts one argument and returns a boolean value Function might throw a checked exception instance.