kotlin.Comparable
Comparable
interface Comparable<in T>
Classes which inherit from this interface have a defined total ordering between their instances.
Functions
abstract operator fun compareTo(other: T): Int Compares this object with the specified object for order. Returns zero if this object is equal to the specified 登录查看完整内容 |