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