T - type of object being testedpublic interface Predicate<T>
Predicate is used to apply a boolean test to a particular object to
see if it passes some criteria.| Modifier and Type | Method and Description |
|---|---|
boolean |
test(T object)
Tests whether a specific object passes some criteria.
|