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