Package | Description |
---|---|
org.apache.commons.lang3.function |
Provides functional interfaces to complement those in
java.lang.function and utilities for working with Java
8 lambdas. |
Modifier and Type | Field and Description |
---|---|
static FailableBiPredicate |
FailableBiPredicate.FALSE
FALSE singleton
|
static FailableBiPredicate |
FailableBiPredicate.TRUE
TRUE singleton
|
Modifier and Type | Method and Description |
---|---|
default FailableBiPredicate<T,U,E> |
FailableBiPredicate.and(FailableBiPredicate<? super T,? super U,E> other)
Returns a composed
FailableBiPredicate like BiPredicate.and(BiPredicate) . |
static <T,U,E extends Throwable> |
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 composed
FailableBiPredicate like BiPredicate.and(BiPredicate) . |
static <T,U,E extends Throwable> |
FailableBiPredicate.truePredicate()
Returns The FALSE TRUE.
|
Modifier and Type | Method and Description |
---|---|
default FailableBiPredicate<T,U,E> |
FailableBiPredicate.and(FailableBiPredicate<? super T,? super U,E> other)
Returns a composed
FailableBiPredicate like BiPredicate.and(BiPredicate) . |
static <T,U> BiPredicate<T,U> |
Failable.asBiPredicate(FailableBiPredicate<T,U,?> predicate)
Converts the given
FailableBiPredicate into a standard BiPredicate . |
default FailableBiPredicate<T,U,E> |
FailableBiPredicate.or(FailableBiPredicate<? super T,? super U,E> other)
Returns a composed
FailableBiPredicate like BiPredicate.and(BiPredicate) . |
static <T,U,E extends Throwable> |
Failable.test(FailableBiPredicate<T,U,E> predicate,
T object1,
U object2)
Tests a predicate and rethrows any exception as a
RuntimeException . |
Copyright © 2001–2020 The Apache Software Foundation. All rights reserved.