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