| 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 |
This package contains duplicates of the JDK's
FunctionalInterface types
from the java.util package, allowing to throw checked Exceptions
that can be handled in Unchecked. |
| Modifier and Type | Method | Description |
|---|---|---|
static <T> Comparator<T> |
Sneaky.comparator(CheckedComparator<T> comparator) |
Wrap a
CheckedComparator in a Comparator. |
static <T> Comparator<T> |
Unchecked.comparator(CheckedComparator<T> comparator) |
Wrap a
CheckedComparator in a Comparator. |
static <T> Comparator<T> |
Unchecked.comparator(CheckedComparator<T> comparator,
Consumer<Throwable> handler) |
Wrap a
CheckedComparator in a Comparator with a custom handler for checked exceptions. |
| Modifier and Type | Method | Description |
|---|---|---|
static <T> Comparator<T> |
CheckedComparator.sneaky(CheckedComparator<T> comparator) |
|
static <T> Comparator<T> |
CheckedComparator.unchecked(CheckedComparator<T> comparator) |
|
static <T> Comparator<T> |
CheckedComparator.unchecked(CheckedComparator<T> comparator,
Consumer<Throwable> handler) |
Copyright © 2018. All rights reserved.