Package aQute.bnd.exceptions
Interface BiPredicateWithException<T,U>
-
- Type Parameters:
T
- the type of the first argumentU
- the type of the second argument
- 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 BiPredicateWithException<T,U>
BiPredicate interface that allows exceptions.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static <T,U>
java.util.function.BiPredicate<T,U>asBiPredicate(BiPredicateWithException<T,U> unchecked)
static <T,U>
java.util.function.BiPredicate<T,U>asBiPredicateOrElse(BiPredicateWithException<T,U> unchecked, boolean orElse)
static <T,U>
java.util.function.BiPredicate<T,U>asBiPredicateOrElseGet(BiPredicateWithException<T,U> unchecked, java.util.function.BooleanSupplier orElseGet)
default java.util.function.BiPredicate<T,U>
orElse(boolean orElse)
default java.util.function.BiPredicate<T,U>
orElseGet(java.util.function.BooleanSupplier orElseGet)
default java.util.function.BiPredicate<T,U>
orElseThrow()
boolean
test(T t, U u)
-
-
-
Method Detail
-
orElseGet
default java.util.function.BiPredicate<T,U> orElseGet(java.util.function.BooleanSupplier orElseGet)
-
asBiPredicate
static <T,U> java.util.function.BiPredicate<T,U> asBiPredicate(BiPredicateWithException<T,U> unchecked)
-
asBiPredicateOrElse
static <T,U> java.util.function.BiPredicate<T,U> asBiPredicateOrElse(BiPredicateWithException<T,U> unchecked, boolean orElse)
-
asBiPredicateOrElseGet
static <T,U> java.util.function.BiPredicate<T,U> asBiPredicateOrElseGet(BiPredicateWithException<T,U> unchecked, java.util.function.BooleanSupplier orElseGet)
-
-