| 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.comparingDouble(SerializableToDoubleFunction<? super T> keyExtractor)
Accepts a function that extracts a
double sort key from a type
T, and returns a SerializableComparator<T> that compares
by that sort key. |
default SerializableComparator<T> |
SerializableComparator.thenComparingDouble(SerializableToDoubleFunction<? super T> keyExtractor)
Returns a lexicographic-order comparator with a function that
extracts a
double sort key. |
Copyright © 2019. All rights reserved.