ComparatorChaining<T> extension
A Comparator extension adding then
method to allow chaining the
comparators together.
- on
-
- Comparator<
T>
- Comparator<
Methods
-
then(
Comparator< T> nextComparator) → Comparator<T> -
Available on Comparator<
Returns a new Comparator combining this one and the givenT> , provided by the ComparatorChaining extensionnextComparator
in the lexicographical order.