T
- the first value@FunctionalInterface
public interface Predicate<T>
Modifier and Type | Method and Description |
---|---|
boolean |
test(T t)
Test the given input value and return a boolean.
|
boolean test(T t) throws java.lang.Throwable
t
- the valuejava.lang.Throwable
- if the implementation wishes to throw any type of exception