function thenBy
source · line 28public
public fun <T, K> Comparator<T>.thenBy(comparator: Comparator<K>, selector: (T) -> K): Comparator<T>
Extension receiver: Comparator<T>
Uses the additional selected-key comparison only when the original comparator reports equality.
parameter selector
source · line 29public
selector: (T) -> K
parameter comparator
source · line 29public
comparator: Comparator<K>
parameter receiver
source · line 28public
Comparator<T>
type parameter T
source · line 28public
T
type parameter K
source · line 28public
K