replace 'trait' keyword with 'interface' in library code
This commit is contained in:
@@ -17,9 +17,9 @@
|
||||
package kotlin
|
||||
|
||||
/**
|
||||
* Classes which inherit from this trait have a defined total ordering between their instances.
|
||||
* Classes which inherit from this interface have a defined total ordering between their instances.
|
||||
*/
|
||||
public trait Comparable<in T> {
|
||||
public interface Comparable<in T> {
|
||||
/**
|
||||
* Compares this object with the specified object for order. Returns zero if this object is equal
|
||||
* to the specified [other] object, a negative number if it's less than [other], or a positive number
|
||||
|
||||
Reference in New Issue
Block a user