T
- the type of the input to the function@FunctionalInterface public interface Predicate<T>
Modifier and Type | Interface and Description |
---|---|
static class |
Predicate.Util |
Modifier and Type | Method and Description |
---|---|
boolean |
test(T value)
Tests the value for satisfying predicate.
|
boolean test(T value)
value
- the value to be teststrue
if the value matches the predicate, otherwise false