Package io.smallrye.common.function
Interface ExceptionPredicate<T,E extends Exception>
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ExceptionPredicate<T,E extends Exception>
A one-argument predicate which can throw an exception.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ExceptionPredicate<T,E>and(ExceptionPredicate<T,E> other)default ExceptionPredicate<T,E>not()default ExceptionPredicate<T,E>or(ExceptionPredicate<T,E> other)booleantest(T t)Evaluate this predicate on the given arguments.default <U> ExceptionBiPredicate<T,U,E>with(ExceptionPredicate<? super U,? extends E> other)default ExceptionPredicate<T,E>xor(ExceptionPredicate<T,E> other)
-
-
-
Method Detail
-
and
default ExceptionPredicate<T,E> and(ExceptionPredicate<T,E> other)
-
or
default ExceptionPredicate<T,E> or(ExceptionPredicate<T,E> other)
-
xor
default ExceptionPredicate<T,E> xor(ExceptionPredicate<T,E> other)
-
not
default ExceptionPredicate<T,E> not()
-
with
default <U> ExceptionBiPredicate<T,U,E> with(ExceptionPredicate<? super U,? extends E> other)
-
-