replace 'trait' keyword with 'interface' in library code

This commit is contained in:
Dmitry Jemerov
2015-05-12 12:09:27 +02:00
parent b1c4a5670a
commit 2a99f757c4
42 changed files with 195 additions and 195 deletions
+2 -2
View File
@@ -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