public default Comparator<T> thenComparingInt (ToIntFunction<? super T> keyExtractor)

Returns a lexicographic-order comparator with a function that extracts a int sort key.

Parameters:
keyExtractor    the function used to extract the integer sort key

Returns:  a lexicographic-order comparator composed of this and then the int sort key

Exceptions:
NullPointerException    if the argument is null.

See also:
comparingInt(ToIntFunction), thenComparing(Comparator)

Since:  1.8

@implSpec This default implementation behaves as if thenComparing(comparingInt(keyExtractor)).