Scoop API

scoop:scoop.std:0.1.0

thenBy

function thenBy

source · line 28
public
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.