A Predicate can determine a true or false value for any input of its
parameterized type. For example, a {@code RegexPredicate} might implement
{@code Predicate}, and return true for any String that matches its
given regular expression.
Implementors of Predicate which may cause side effects upon evaluation are
strongly encouraged to state this fact clearly in their API documentation. |