Move comparison related functions to kotlin.comparisons, update imports in stdlib.

This commit is contained in:
Ilya Gorbunov
2016-01-16 16:00:36 +03:00
parent c250921643
commit 67ef790abc
20 changed files with 353 additions and 2 deletions
+1
View File
@@ -3,6 +3,7 @@ package test.compare
import java.util.*
import kotlin.test.*
import org.junit.Test
import kotlin.comparisons.*
data class Item(val name: String, val rating: Int) : Comparable<Item> {
public override fun compareTo(other: Item): Int {