ComparatorExtension<T> extension

Extensions on comparator functions.

on

Properties

inverse Comparator<T>
The inverse ordering of this comparator.
no setter

Methods

compareBy<R>(T keyOf(R)) Comparator<R>
Makes a comparator on R values using this comparator.
then(Comparator<T> tieBreaker) Comparator<T>
Combine comparators sequentially.