T - Predicate type 1.U - Predicate type 2.E - Thrown exception.@FunctionalInterface public interface FailableBiPredicate<T,U,E extends Throwable>
BiPredicate that declares a Throwable.| Modifier and Type | Field and Description |
|---|---|
static FailableBiPredicate |
FALSE
FALSE singleton
|
static FailableBiPredicate |
TRUE
TRUE singleton
|
| Modifier and Type | Method and Description |
|---|---|
default FailableBiPredicate<T,U,E> |
and(FailableBiPredicate<? super T,? super U,E> other)
Returns a composed
FailableBiPredicate like BiPredicate.and(BiPredicate). |
static <T,U,E extends Throwable> |
falsePredicate()
Returns The FALSE singleton.
|
default FailableBiPredicate<T,U,E> |
negate()
Returns a predicate that negates this predicate.
|
default FailableBiPredicate<T,U,E> |
or(FailableBiPredicate<? super T,? super U,E> other)
Returns a composed
FailableBiPredicate like BiPredicate.and(BiPredicate). |
boolean |
test(T object1,
U object2)
Tests the predicate.
|
static <T,U,E extends Throwable> |
truePredicate()
Returns The FALSE TRUE.
|
static final FailableBiPredicate FALSE
static final FailableBiPredicate TRUE
static <T,U,E extends Throwable> FailableBiPredicate<T,U,E> falsePredicate()
T - Consumed type 1.U - Consumed type 2.E - Thrown exception.static <T,U,E extends Throwable> FailableBiPredicate<T,U,E> truePredicate()
T - Consumed type 1.U - Consumed type 2.E - Thrown exception.default FailableBiPredicate<T,U,E> and(FailableBiPredicate<? super T,? super U,E> other)
FailableBiPredicate like BiPredicate.and(BiPredicate).other - a predicate that will be logically-ANDed with this predicate.FailableBiPredicate like BiPredicate.and(BiPredicate).NullPointerException - if other is nulldefault FailableBiPredicate<T,U,E> negate()
default FailableBiPredicate<T,U,E> or(FailableBiPredicate<? super T,? super U,E> other)
FailableBiPredicate like BiPredicate.and(BiPredicate).other - a predicate that will be logically-ORed with this predicate.FailableBiPredicate like BiPredicate.and(BiPredicate).NullPointerException - if other is nullCopyright © 2001–2020 The Apache Software Foundation. All rights reserved.