| Modifier and Type | Method | Description |
|---|---|---|
static <T,U,E extends Exception> |
ToLongBiFunctionWithException.failing(Supplier<E> exceptionBuilder) |
Returns a function that always throw exception.
|
| Modifier and Type | Method | Description |
|---|---|---|
static <T,U,E extends Exception> |
ToLongBiFunctionWithException.ignored(ToLongBiFunctionWithException<T,U,E> function) |
Converts a
ToLongBiFunctionWithException to a lifted
ToLongBiFunction returning 0 in case of exception. |
static <T,U,E extends Exception> |
ToLongBiFunctionWithException.lifted(ToLongBiFunctionWithException<T,U,E> function) |
Converts a
ToLongBiFunctionWithException to a lifted
ToLongBiFunction returning 0 in case of exception. |
static <T,U,E extends Exception> |
ToLongBiFunctionWithException.unchecked(ToLongBiFunctionWithException<T,U,E> function) |
Converts a
ToLongBiFunctionWithException to a
ToLongBiFunction that wraps exception to RuntimeException. |
static <T,U,E extends Exception> |
ToLongBiFunctionWithException.unchecked(ToLongBiFunctionWithException<T,U,E> function,
Function<Exception,RuntimeException> exceptionMapper) |
Converts a
ToLongBiFunctionWithException to a
ToLongBiFunction that wraps exception to RuntimeException by
using the provided mapping function. |
Copyright © 2019. All rights reserved.