Package aQute.lib.exceptions
Interface BiFunctionWithException<T,U,R>
-
- Type Parameters:
T
- the type 1 of the argumentU
- the type 2 of the argumentR
- the result type
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@Deprecated @FunctionalInterface public interface BiFunctionWithException<T,U,R>
Deprecated.BiFunction interface that allows exceptions.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description R
apply(T t, U u)
Deprecated.static <T,U,R>
java.util.function.BiFunction<T,U,R>asBiFunction(BiFunctionWithException<T,U,R> unchecked)
Deprecated.static <T,U,R>
java.util.function.BiFunction<T,U,R>asBiFunctionOrElse(BiFunctionWithException<T,U,R> unchecked, R orElse)
Deprecated.static <T,U,R>
java.util.function.BiFunction<T,U,R>asBiFunctionOrElseGet(BiFunctionWithException<T,U,R> unchecked, java.util.function.Supplier<? extends R> orElseGet)
Deprecated.default java.util.function.BiFunction<T,U,R>
orElse(R orElse)
Deprecated.default java.util.function.BiFunction<T,U,R>
orElseGet(java.util.function.Supplier<? extends R> orElseGet)
Deprecated.default java.util.function.BiFunction<T,U,R>
orElseThrow()
Deprecated.
-
-
-
Method Detail
-
orElseGet
default java.util.function.BiFunction<T,U,R> orElseGet(java.util.function.Supplier<? extends R> orElseGet)
Deprecated.
-
asBiFunction
static <T,U,R> java.util.function.BiFunction<T,U,R> asBiFunction(BiFunctionWithException<T,U,R> unchecked)
Deprecated.
-
asBiFunctionOrElse
static <T,U,R> java.util.function.BiFunction<T,U,R> asBiFunctionOrElse(BiFunctionWithException<T,U,R> unchecked, R orElse)
Deprecated.
-
asBiFunctionOrElseGet
static <T,U,R> java.util.function.BiFunction<T,U,R> asBiFunctionOrElseGet(BiFunctionWithException<T,U,R> unchecked, java.util.function.Supplier<? extends R> orElseGet)
Deprecated.
-
-