T - argument typeE - the type of Throwable declared@FunctionalInterface public interface CheckedPredicate<T,E extends Throwable>
PredicatePredicate| Modifier and Type | Method and Description | 
|---|---|
default CheckedPredicate<T,E> | 
and(CheckedPredicate<? super T,? extends E> other)
 | 
default CheckedPredicate<T,E> | 
negate()
 | 
default CheckedPredicate<T,E> | 
or(CheckedPredicate<? super T,? extends E> other)
 | 
boolean | 
test(T t)
 | 
boolean test(T t) throws E extends Throwable
t - argumenttrue if predicate matches, else falseThrowable - any throwablePredicate.test(Object)default CheckedPredicate<T,E> and(CheckedPredicate<? super T,? extends E> other)
other - the predicate to be compounded with logical andCheckedPredicateNullPointerException - if other is nulldefault CheckedPredicate<T,E> negate()
CheckedPredicatedefault CheckedPredicate<T,E> or(CheckedPredicate<? super T,? extends E> other)
other - the predicate to be compounded with logical orCheckedPredicateNullPointerException - if other is nullCopyright © 2016–2018 earcam. All rights reserved.