public interface Predicate<T>
Predicates must be immutable.
| Modifier and Type | Method and Description |
|---|---|
boolean |
satisfiedBy(T testedInstance)
Returns whether the given instance satisfies this predicate.
|
boolean satisfiedBy(T testedInstance)
testedInstance - The instance to test.