CompoundComparator<T> extension

Extension on Comparator to combine multiple comparators.

on

Methods

thenCompare(Comparator<T> comparator) → Comparator<T>

Available on Comparator<T>, provided by the CompoundComparator extension

Returns a Comparator that breaks a tie of this comparator by delegating to another comparator.