Glossary: Kotlin Beyond the Basics
Comparable
Also written: compareTo
A standard interface whose `compareTo` function is what `<` and `>` call. A bound of `Comparable<T>` lets generic code compare values.
Glossary: Kotlin Beyond the Basics
Also written: compareTo
A standard interface whose `compareTo` function is what `<` and `>` call. A bound of `Comparable<T>` lets generic code compare values.