CompoundIterableComparator<T> extension

Extension on an iterable of Comparators to combine them into one.

on

Methods

toComparator() → Comparator<T>

Available on Iterable<Comparator<T>>, provided by the CompoundIterableComparator extension

Returns a Comparator that tries each of the comparators in this iterable in order and returns the first result that doesn't end up in a tie.