compareValuesBy
fun <T> compareValuesBy(
a: T,
b: T,
vararg selectors: (T) -> Comparable<*>?
): Int
Compares two values using the specified functions selectors to calculate the result of the comparison. The functions are called sequentially, receive the given values 登录查看完整内容