Interface CheckedComparator<T>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A
Comparator that allows for checked exceptions.-
Method Summary
Modifier and TypeMethodDescriptionintCompares its two arguments for order.static <T> Comparator<T> sneaky(CheckedComparator<T> comparator) static <T> Comparator<T> unchecked(CheckedComparator<T> comparator) static <T> Comparator<T> unchecked(CheckedComparator<T> comparator, Consumer<Throwable> handler)
-
Method Details
-
compare
-
sneaky
-
unchecked
-
unchecked
-