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