T - the type of the input to the functionE - the type of the thrown checked exception@FunctionalInterface public interface ThrowingPredicate<T,E extends Exception>
| Modifier and Type | Method and Description |
|---|---|
default ThrowingPredicate<T,E> |
and(ThrowingPredicate<? super T,? extends E> other) |
default ThrowingFunction<T,Boolean,E> |
asFunction() |
default ThrowingPredicate<T,E> |
negate() |
default ThrowingPredicate<T,E> |
or(ThrowingPredicate<? super T,? extends E> other) |
static <T> Predicate<T> |
sneaky(ThrowingPredicate<T,?> predicate) |
boolean |
test(T t) |
default Predicate<T> |
uncheck() |
static <T> Predicate<T> |
unchecked(ThrowingPredicate<T,?> predicate) |
default ThrowingPredicate<T,E> |
xor(ThrowingPredicate<? super T,? extends E> other) |
static <T> Predicate<T> unchecked(ThrowingPredicate<T,?> predicate)
static <T> Predicate<T> sneaky(ThrowingPredicate<T,?> predicate)
default ThrowingPredicate<T,E> and(ThrowingPredicate<? super T,? extends E> other)
default ThrowingPredicate<T,E> or(ThrowingPredicate<? super T,? extends E> other)
default ThrowingPredicate<T,E> xor(ThrowingPredicate<? super T,? extends E> other)
default ThrowingPredicate<T,E> negate()
default ThrowingFunction<T,Boolean,E> asFunction()
Copyright © 2020. All rights reserved.