Split Library.kt into several files

For better readbility and discoverability. Also rename String.compareTo
parameter to "other", since that is the name of parameter of other compareTo's
This commit is contained in:
Alexander Udalov
2014-02-25 19:12:04 +04:00
parent 154f2c0a13
commit 6e23af2ba3
9 changed files with 48 additions and 40 deletions
@@ -35,7 +35,7 @@ class JavaToKotlinMethodMapGenerated {
);
put(b, "java.lang.String", "String",
pair("compareTo(java.lang.String)", "fun compareTo(that: kotlin.String): kotlin.Int"),
pair("compareTo(java.lang.String)", "fun compareTo(other: kotlin.String): kotlin.Int"),
pair("equals(java.lang.Object)", "fun equals(other: kotlin.Any?): kotlin.Boolean"),
pair("hashCode()", "fun hashCode(): kotlin.Int"),
pair("toString()", "fun toString(): kotlin.String")