Modifier and Type | Method and Description |
---|---|
static <R,E extends Throwable> |
DoubleFunctionWithThrowable.asDoubleFunctionWithThrowable(DoubleFunction<R> doublefunction)
Utility method to convert DoubleFunctionWithThrowable
|
static <R,E extends Throwable> |
DoubleFunctionWithThrowable.castDoubleFunctionWithThrowable(DoubleFunctionWithThrowable<R,E> doublefunctionwiththrowable)
Utility method to mark lambdas of type DoubleFunctionWithThrowable
|
default DoubleFunctionWithThrowable<R,E> |
DoubleFunctionWithThrowable.onException(BiConsumer<Throwable,Object[]> consumer) |
default DoubleFunctionWithThrowable<R,E> |
DoubleFunctionWithThrowable.onException(Consumer<Throwable> consumer) |
default DoubleFunctionWithThrowable<R,E> |
DoubleFunctionWithThrowable.withLogging()
Will log WARNING level exceptions on logger if they occur within the interface
|
default DoubleFunctionWithThrowable<R,E> |
DoubleFunctionWithThrowable.withLogging(org.slf4j.Logger logger)
Will log WARNING level exceptions on logger if they occur within the interface
|
default DoubleFunctionWithThrowable<R,E> |
DoubleFunctionWithThrowable.withLogging(org.slf4j.Logger logger,
String message) |
Modifier and Type | Method and Description |
---|---|
static <R,E extends Throwable> |
DoubleFunctionWithThrowable.aDoubleFunctionThatUnsafelyThrowsUnchecked(DoubleFunctionWithThrowable<R,E> doublefunctionwiththrowable)
Utility method to unwrap lambdas of type DoubleFunction and withUncheckedThrowable any Exception
|
static <R,E extends Throwable> |
DoubleFunctionWithThrowable.castDoubleFunctionWithThrowable(DoubleFunctionWithThrowable<R,E> doublefunctionwiththrowable)
Utility method to mark lambdas of type DoubleFunctionWithThrowable
|
Copyright © 2017. All rights reserved.