T
- The type of object to be tested.public interface Predicate<T>
Modifier and Type | Method and Description |
---|---|
boolean |
matches(T object)
Returns true iff the given object matches the predicate.
|
boolean matches(T object)
object
- The object to test. May be null.