Modifier and Type | Method and Description |
---|---|
static <T,E extends Throwable> |
ToLongFunctionWithThrowable.asToLongFunctionWithThrowable(ToLongFunction<T> tolongfunction)
Utility method to convert ToLongFunctionWithThrowable
|
static <T,E extends Throwable> |
ToLongFunctionWithThrowable.castToLongFunctionWithThrowable(ToLongFunctionWithThrowable<T,E> tolongfunctionwiththrowable)
Utility method to mark lambdas of type ToLongFunctionWithThrowable
|
default ToLongFunctionWithThrowable<T,E> |
ToLongFunctionWithThrowable.onException(BiConsumer<Throwable,Object[]> consumer) |
default ToLongFunctionWithThrowable<T,E> |
ToLongFunctionWithThrowable.onException(Consumer<Throwable> consumer) |
default ToLongFunctionWithThrowable<T,E> |
ToLongFunctionWithThrowable.withLogging()
Will log WARNING level exceptions on logger if they occur within the interface
|
default ToLongFunctionWithThrowable<T,E> |
ToLongFunctionWithThrowable.withLogging(org.slf4j.Logger logger)
Will log WARNING level exceptions on logger if they occur within the interface
|
default ToLongFunctionWithThrowable<T,E> |
ToLongFunctionWithThrowable.withLogging(org.slf4j.Logger logger,
String message) |
Modifier and Type | Method and Description |
---|---|
static <T,E extends Throwable> |
ToLongFunctionWithThrowable.aToLongFunctionThatUnsafelyThrowsUnchecked(ToLongFunctionWithThrowable<T,E> tolongfunctionwiththrowable)
Utility method to unwrap lambdas of type ToLongFunction and withUncheckedThrowable any Exception
|
static <T,E extends Throwable> |
ToLongFunctionWithThrowable.castToLongFunctionWithThrowable(ToLongFunctionWithThrowable<T,E> tolongfunctionwiththrowable)
Utility method to mark lambdas of type ToLongFunctionWithThrowable
|
Copyright © 2017. All rights reserved.