Returns a lexicographic-order comparator with a function that
extracts a double
sort key.
keyExtractor | the function used to extract the double sort key |
double
sort key
NullPointerException | if the argument is null. |
comparingDouble(ToDoubleFunction), thenComparing(Comparator)
@implSpec This default implementation behaves as if
thenComparing(comparingDouble(keyExtractor))
.
Diagram: Comparator