Move declaration of jet.Char out of Numbers.kt

It's not a number anymore (see previous commit)
This commit is contained in:
Alexander Udalov
2013-12-03 21:46:44 +04:00
parent 1c3383c811
commit 1bde7344a4
2 changed files with 69 additions and 68 deletions
+69
View File
@@ -0,0 +1,69 @@
package jet
public class Char private () : Hashable, Comparable<Char> {
public fun compareTo(other : Double) : Int
public fun compareTo(other : Float) : Int
public fun compareTo(other : Long) : Int
public fun compareTo(other : Int) : Int
public fun compareTo(other : Short) : Int
public override fun compareTo(other : Char) : Int
public fun compareTo(other : Byte) : Int
public fun plus(other : Double) : Double
public fun plus(other : Float) : Float
public fun plus(other : Long) : Long
public fun plus(other : Int) : Int
public fun plus(other : Short) : Int
public fun plus(other : Byte) : Int
// public fun plus(other : Char) : Int
public fun minus(other : Double) : Double
public fun minus(other : Float) : Float
public fun minus(other : Long) : Long
public fun minus(other : Int) : Int
public fun minus(other : Short) : Int
public fun minus(other : Byte) : Int
public fun minus(other : Char) : Int
public fun times(other : Double) : Double
public fun times(other : Float) : Float
public fun times(other : Long) : Long
public fun times(other : Int) : Int
public fun times(other : Short) : Int
public fun times(other : Byte) : Int
// public fun times(other : Char) : Int
public fun div(other : Double) : Double
public fun div(other : Float) : Float
public fun div(other : Long) : Long
public fun div(other : Int) : Int
public fun div(other : Short) : Int
public fun div(other : Byte) : Int
// public fun div(other : Char) : Int
public fun mod(other : Double) : Double
public fun mod(other : Float) : Float
public fun mod(other : Long) : Long
public fun mod(other : Int) : Int
public fun mod(other : Short) : Int
public fun mod(other : Byte) : Int
// public fun mod(other : Char) : Int
public fun rangeTo(other : Char) : CharRange
public fun inc() : Char
public fun dec() : Char
public fun plus() : Int
public fun minus() : Int
public fun toDouble() : Double
public fun toFloat() : Float
public fun toLong() : Long
public fun toInt() : Int
public fun toChar() : Char
public fun toShort() : Short
public fun toByte() : Byte
public override fun hashCode() : Int
public override fun equals(other : Any?) : Boolean
}
-68
View File
@@ -328,74 +328,6 @@ public class Int private () : Number, Comparable<Int> {
public override fun equals(other : Any?) : Boolean
}
public class Char private () : Hashable, Comparable<Char> {
public fun compareTo(other : Double) : Int
public fun compareTo(other : Float) : Int
public fun compareTo(other : Long) : Int
public fun compareTo(other : Int) : Int
public fun compareTo(other : Short) : Int
public override fun compareTo(other : Char) : Int
public fun compareTo(other : Byte) : Int
public fun plus(other : Double) : Double
public fun plus(other : Float) : Float
public fun plus(other : Long) : Long
public fun plus(other : Int) : Int
public fun plus(other : Short) : Int
public fun plus(other : Byte) : Int
// public fun plus(other : Char) : Int
public fun minus(other : Double) : Double
public fun minus(other : Float) : Float
public fun minus(other : Long) : Long
public fun minus(other : Int) : Int
public fun minus(other : Short) : Int
public fun minus(other : Byte) : Int
public fun minus(other : Char) : Int
public fun times(other : Double) : Double
public fun times(other : Float) : Float
public fun times(other : Long) : Long
public fun times(other : Int) : Int
public fun times(other : Short) : Int
public fun times(other : Byte) : Int
// public fun times(other : Char) : Int
public fun div(other : Double) : Double
public fun div(other : Float) : Float
public fun div(other : Long) : Long
public fun div(other : Int) : Int
public fun div(other : Short) : Int
public fun div(other : Byte) : Int
// public fun div(other : Char) : Int
public fun mod(other : Double) : Double
public fun mod(other : Float) : Float
public fun mod(other : Long) : Long
public fun mod(other : Int) : Int
public fun mod(other : Short) : Int
public fun mod(other : Byte) : Int
// public fun mod(other : Char) : Int
public fun rangeTo(other : Char) : CharRange
public fun inc() : Char
public fun dec() : Char
public fun plus() : Int
public fun minus() : Int
public fun toDouble() : Double
public fun toFloat() : Float
public fun toLong() : Long
public fun toInt() : Int
public fun toChar() : Char
public fun toShort() : Short
public fun toByte() : Byte
public override fun hashCode() : Int
public override fun equals(other : Any?) : Boolean
}
public class Short private () : Number, Comparable<Short> {
public fun compareTo(other : Double) : Int
public fun compareTo(other : Float) : Int