T
- the type of the input to the predicate@FunctionalInterface
public interface CheckedPredicate<T>
Modifier and Type | Method and Description |
---|---|
default CheckedPredicate<T> |
negate()
Negates this predicate.
|
boolean |
test(T t)
Evaluates this predicate on the given argument.
|
boolean test(T t) throws java.lang.Throwable
t
- the input argumenttrue
if the input argument matches the predicate, otherwise false
java.lang.Throwable
- if an error occursdefault CheckedPredicate<T> negate()
Copyright © 2017. All Rights Reserved.