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