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 | Description |
---|---|---|
static <T> java.util.function.ObjIntConsumer<T> |
Sneaky.objIntConsumer(CheckedObjIntConsumer<T> consumer) |
Wrap a
CheckedObjIntConsumer in a ObjIntConsumer . |
static <T> java.util.function.ObjIntConsumer<T> |
Unchecked.objIntConsumer(CheckedObjIntConsumer<T> consumer) |
Wrap a
CheckedObjIntConsumer in a ObjIntConsumer . |
static <T> java.util.function.ObjIntConsumer<T> |
Unchecked.objIntConsumer(CheckedObjIntConsumer<T> consumer,
java.util.function.Consumer<java.lang.Throwable> handler) |
Wrap a
CheckedObjIntConsumer in a ObjIntConsumer with a custom handler for checked exceptions. |
Modifier and Type | Method | Description |
---|---|---|
static <T> java.util.function.ObjIntConsumer<T> |
CheckedObjIntConsumer.sneaky(CheckedObjIntConsumer<T> consumer) |
|
static <T> java.util.function.ObjIntConsumer<T> |
CheckedObjIntConsumer.unchecked(CheckedObjIntConsumer<T> consumer) |
|
static <T> java.util.function.ObjIntConsumer<T> |
CheckedObjIntConsumer.unchecked(CheckedObjIntConsumer<T> consumer,
java.util.function.Consumer<java.lang.Throwable> handler) |
Copyright © 2018. All rights reserved.