Uses of Interface
org.apache.commons.lang3.function.FailableBiPredicate
Package
Description
Provides functional interfaces to complement those in
java.lang.function
and utilities for working with Java
8 lambdas.-
Uses of FailableBiPredicate in org.apache.commons.lang3.function
Modifier and TypeFieldDescriptionstatic final FailableBiPredicate
FailableBiPredicate.FALSE
FALSE singletonstatic final FailableBiPredicate
FailableBiPredicate.TRUE
TRUE singletonModifier and TypeMethodDescriptiondefault FailableBiPredicate<T,
U, E> FailableBiPredicate.and
(FailableBiPredicate<? super T, ? super U, E> other) Returns a composedFailableBiPredicate
likeBiPredicate.and(BiPredicate)
.static <T,
U, E extends Throwable>
FailableBiPredicate<T,U, E> FailableBiPredicate.falsePredicate()
Returns The FALSE singleton.default FailableBiPredicate<T,
U, E> FailableBiPredicate.negate()
Returns a predicate that negates this predicate.default FailableBiPredicate<T,
U, E> FailableBiPredicate.or
(FailableBiPredicate<? super T, ? super U, E> other) Returns a composedFailableBiPredicate
likeBiPredicate.and(BiPredicate)
.static <T,
U, E extends Throwable>
FailableBiPredicate<T,U, E> FailableBiPredicate.truePredicate()
Returns The TRUE singleton.Modifier and TypeMethodDescriptiondefault FailableBiPredicate<T,
U, E> FailableBiPredicate.and
(FailableBiPredicate<? super T, ? super U, E> other) Returns a composedFailableBiPredicate
likeBiPredicate.and(BiPredicate)
.static <T,
U> BiPredicate<T, U> Failable.asBiPredicate
(FailableBiPredicate<T, U, ?> predicate) Converts the givenFailableBiPredicate
into a standardBiPredicate
.default FailableBiPredicate<T,
U, E> FailableBiPredicate.or
(FailableBiPredicate<? super T, ? super U, E> other) Returns a composedFailableBiPredicate
likeBiPredicate.and(BiPredicate)
.static <T,
U, E extends Throwable>
booleanFailable.test
(FailableBiPredicate<T, U, E> predicate, T object1, U object2) Tests a predicate and rethrows any exception as aRuntimeException
.