T - the type of object that the predicate can testpublic interface Predicate<T>
| Modifier and Type | Method and Description |
|---|---|
boolean |
test(T t)
Returns true if the input object matches some criteria.
|
boolean test(T t)
t - The input object.Copyright © 2016. All rights reserved.