| Package | Description |
|---|---|
| org.jooq.lambda |
This package contains useful extensions for interoperation with Java 8's lambda expressions and
FunctionalInterface types. |
| org.jooq.lambda.fi.util.function |
This package contains duplicates of the JDK's
FunctionalInterface types
from the java.util.function package, allowing to throw checked Exceptions
that can be handled in Unchecked. |
| Modifier and Type | Method and Description |
|---|---|
static <R> java.util.function.DoubleFunction<R> |
Unchecked.doubleFunction(CheckedDoubleFunction<R> function)
Wrap a
CheckedDoubleFunction in a DoubleFunction. |
static <R> java.util.function.DoubleFunction<R> |
Unchecked.doubleFunction(CheckedDoubleFunction<R> function,
java.util.function.Consumer<Throwable> handler)
Wrap a
CheckedDoubleFunction in a DoubleFunction with a custom handler for checked exceptions. |
| Modifier and Type | Method and Description |
|---|---|
static <R> java.util.function.DoubleFunction<R> |
CheckedDoubleFunction.unchecked(CheckedDoubleFunction<R> function) |
static <R> java.util.function.DoubleFunction<R> |
CheckedDoubleFunction.unchecked(CheckedDoubleFunction<R> function,
java.util.function.Consumer<Throwable> handler) |
Copyright © 2016. All Rights Reserved.