static <R,X extends Throwable> ThrowingLongFunction<R,X> |
ThrowingLongFunction.checked(LongFunction<? extends R> function) |
Returns a function that applies the function function to its input.
|
static <R,X extends Throwable> ThrowingLongFunction<R,X> |
ThrowingLongFunction.checked(LongFunction<? extends R> function,
Class<X> errorType) |
Returns a function that applies the function function to its input.
|
static <R,X extends Throwable> ThrowingLongFunction<R,X> |
ThrowingLongFunction.of(ThrowingLongFunction<R,X> function) |
Factory method for turning ThrowingLongFunction-shaped lambdas into ThrowingLongFunctions.
|
default <E extends Throwable> ThrowingLongFunction<R,E> |
ThrowingLongFunction.onErrorApplyChecked(ThrowingLongFunction<? extends R,? extends E> fallback) |
Returns a function that applies this function to its input.
|
default <E extends Throwable> ThrowingLongFunction<R,E> |
ThrowingLongFunction.onErrorGetChecked(ThrowingSupplier<? extends R,? extends E> fallback) |
Returns a function that applies this function to its input.
|
default <E extends Throwable> ThrowingLongFunction<R,E> |
ThrowingLongFunction.onErrorHandleChecked(ThrowingFunction<? super X,? extends R,? extends E> errorHandler) |
Returns a function that applies this function to its input.
|
default <E extends Throwable> ThrowingLongFunction<R,E> |
ThrowingLongFunction.onErrorThrowAsChecked(Function<? super X,? extends E> errorMapper) |
Returns a function that applies this function to its input.
|