T - public interface Predicate<T>
T fulfils a particular condition.
When using this type in a variable, parameter or field declaration, never write:
Predicate<subject-type>
, but always:
Predicate<? super subject-type>
| Modifier and Type | Method and Description |
|---|---|
boolean |
evaluate(T subject) |
boolean evaluate(T subject)
subject fulfils a particular condition