| Package | Description |
|---|---|
| org.danekja.java.misc.serializable |
This package contains serializable versions of
FunctionalInterfaces from the JDK not in
java.util.function |
| Modifier and Type | Method and Description |
|---|---|
static <T> SerializableComparator<T> |
SerializableComparator.comparingLong(SerializableToLongFunction<? super T> keyExtractor)
Accepts a function that extracts a
long sort key from a type
T, and returns a Comparator<T> that compares by that
sort key. |
default SerializableComparator<T> |
SerializableComparator.thenComparingLong(SerializableToLongFunction<? super T> keyExtractor)
Returns a lexicographic-order comparator with a function that
extracts a
long sort key. |
Copyright © 2019. All rights reserved.