T
- argument type@FunctionalInterface public interface CheckedPredicate<T>
Predicate
Predicate
Modifier and Type | Method and Description |
---|---|
default CheckedPredicate<T> |
and(CheckedPredicate<? super T> other)
|
default CheckedPredicate<T> |
negate()
|
default CheckedPredicate<T> |
or(CheckedPredicate<? super T> other)
|
boolean |
test(T t)
|
boolean test(T t) throws Throwable
t
- argumenttrue
if predicate matches, else false
Throwable
- any throwablePredicate.test(Object)
default CheckedPredicate<T> and(@Nonnull CheckedPredicate<? super T> other)
other
- the predicate to be compounded with logical andCheckedPredicate
NullPointerException
- if other
is null
default CheckedPredicate<T> negate()
CheckedPredicate
default CheckedPredicate<T> or(@Nonnull CheckedPredicate<? super T> other)
other
- the predicate to be compounded with logical orCheckedPredicate
NullPointerException
- if other
is null
Copyright © 2016–2018 earcam. All rights reserved.