Uses of Interface
com.github.robtimus.function.throwing.ThrowingPredicate
-
-
Uses of ThrowingPredicate in com.github.robtimus.function.throwing
Methods in com.github.robtimus.function.throwing that return ThrowingPredicate Modifier and Type Method Description default ThrowingPredicate<T,X>ThrowingPredicate. and(ThrowingPredicate<? super T,? extends X> other)Returns a composed predicate that represents a short-circuiting logical AND of this predicate and another.static <T,X extends Throwable>
ThrowingPredicate<T,X>ThrowingPredicate. checked(Predicate<? super T> predicate)Returns a predicate that evaluates thepredicatepredicate on its input.static <T,X extends Throwable>
ThrowingPredicate<T,X>ThrowingPredicate. checked(Predicate<? super T> predicate, Class<X> errorType)Returns a predicate that evaluates thepredicatepredicate on its input.default ThrowingPredicate<T,X>ThrowingPredicate. negate()Returns a predicate that represents the logical negation of this predicate.static <T,X extends Throwable>
ThrowingPredicate<T,X>ThrowingPredicate. not(ThrowingPredicate<? super T,? extends X> predicate)Returns a predicate that is the negation of the supplied predicate.static <T,X extends Throwable>
ThrowingPredicate<T,X>ThrowingPredicate. of(ThrowingPredicate<T,X> predicate)Factory method for turningThrowingPredicate-shaped lambdas intoThrowingPredicates.default <E extends Throwable>
ThrowingPredicate<T,E>ThrowingPredicate. onErrorGetCheckedAsBoolean(ThrowingBooleanSupplier<? extends E> fallback)Returns a predicate that evaluates this predicate on its input.default <E extends Throwable>
ThrowingPredicate<T,E>ThrowingPredicate. onErrorHandleChecked(ThrowingPredicate<? super X,? extends E> errorHandler)Returns a predicate that evaluates this predicate on its input.default <E extends Throwable>
ThrowingPredicate<T,E>ThrowingPredicate. onErrorTestChecked(ThrowingPredicate<? super T,? extends E> fallback)Returns a predicate that evaluates this predicate on its input.default <E extends Throwable>
ThrowingPredicate<T,E>ThrowingPredicate. onErrorThrowAsChecked(Function<? super X,? extends E> errorMapper)Returns a predicate that evaluates this predicate on its input.default ThrowingPredicate<T,X>ThrowingPredicate. or(ThrowingPredicate<? super T,? extends X> other)Returns a composed predicate that represents a short-circuiting logical OR of this predicate and another.Methods in com.github.robtimus.function.throwing with parameters of type ThrowingPredicate Modifier and Type Method Description default ThrowingPredicate<T,X>ThrowingPredicate. and(ThrowingPredicate<? super T,? extends X> other)Returns a composed predicate that represents a short-circuiting logical AND of this predicate and another.static <T,X extends Throwable>
ThrowingPredicate<T,X>ThrowingPredicate. not(ThrowingPredicate<? super T,? extends X> predicate)Returns a predicate that is the negation of the supplied predicate.static <T,X extends Throwable>
ThrowingPredicate<T,X>ThrowingPredicate. of(ThrowingPredicate<T,X> predicate)Factory method for turningThrowingPredicate-shaped lambdas intoThrowingPredicates.default <E extends Throwable>
ThrowingBiPredicate<T,U,E>ThrowingBiPredicate. onErrorHandleChecked(ThrowingPredicate<? super X,? extends E> errorHandler)Returns a predicate that evaluates this predicate on its input.default <E extends Throwable>
ThrowingBooleanSupplier<E>ThrowingBooleanSupplier. onErrorHandleChecked(ThrowingPredicate<? super X,? extends E> errorHandler)Returns a supplier that calls this supplier.default <E extends Throwable>
ThrowingDoublePredicate<E>ThrowingDoublePredicate. onErrorHandleChecked(ThrowingPredicate<? super X,? extends E> errorHandler)Returns a predicate that evaluates this predicate on its input.default <E extends Throwable>
ThrowingIntPredicate<E>ThrowingIntPredicate. onErrorHandleChecked(ThrowingPredicate<? super X,? extends E> errorHandler)Returns a predicate that evaluates this predicate on its input.default <E extends Throwable>
ThrowingLongPredicate<E>ThrowingLongPredicate. onErrorHandleChecked(ThrowingPredicate<? super X,? extends E> errorHandler)Returns a predicate that evaluates this predicate on its input.default <E extends Throwable>
ThrowingPredicate<T,E>ThrowingPredicate. onErrorHandleChecked(ThrowingPredicate<? super X,? extends E> errorHandler)Returns a predicate that evaluates this predicate on its input.default <E extends Throwable>
ThrowingPredicate<T,E>ThrowingPredicate. onErrorTestChecked(ThrowingPredicate<? super T,? extends E> fallback)Returns a predicate that evaluates this predicate on its input.default ThrowingPredicate<T,X>ThrowingPredicate. or(ThrowingPredicate<? super T,? extends X> other)Returns a composed predicate that represents a short-circuiting logical OR of this predicate and another.static <T> Predicate<T>ThrowingPredicate. unchecked(ThrowingPredicate<? super T,?> predicate)Returns a predicate that evaluates thepredicatepredicate on its input.
-