|
|
|
@@ -22,7 +22,7 @@ package kotlin
|
|
|
|
|
* Represents a 8-bit signed integer.
|
|
|
|
|
* On the JVM, non-nullable values of this type are represented as values of the primitive type `byte`.
|
|
|
|
|
*/
|
|
|
|
|
public class Byte private () : Number, Comparable<Byte> {
|
|
|
|
|
public class Byte private constructor() : Number(), Comparable<Byte> {
|
|
|
|
|
companion object {
|
|
|
|
|
/**
|
|
|
|
|
* A constant holding the minimum value an instance of Byte can have.
|
|
|
|
@@ -35,41 +35,46 @@ public class Byte private () : Number, Comparable<Byte> {
|
|
|
|
|
public const val MAX_VALUE: Byte = 127
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
public override operator fun compareTo(other: Byte): Int
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
public operator fun compareTo(other: Short): Int
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
public operator fun compareTo(other: Int): Int
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
public operator fun compareTo(other: Long): Int
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
public operator fun compareTo(other: Float): Int
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
public operator fun compareTo(other: Double): Int
|
|
|
|
|
|
|
|
|
|
/** Adds the other value to this value. */
|
|
|
|
@@ -168,7 +173,7 @@ public class Byte private () : Number, Comparable<Byte> {
|
|
|
|
|
* Represents a 16-bit signed integer.
|
|
|
|
|
* On the JVM, non-nullable values of this type are represented as values of the primitive type `short`.
|
|
|
|
|
*/
|
|
|
|
|
public class Short private () : Number, Comparable<Short> {
|
|
|
|
|
public class Short private constructor() : Number(), Comparable<Short> {
|
|
|
|
|
companion object {
|
|
|
|
|
/**
|
|
|
|
|
* A constant holding the minimum value an instance of Short can have.
|
|
|
|
@@ -181,41 +186,46 @@ public class Short private () : Number, Comparable<Short> {
|
|
|
|
|
public const val MAX_VALUE: Short = 32767
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
public operator fun compareTo(other: Byte): Int
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
public override operator fun compareTo(other: Short): Int
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
public operator fun compareTo(other: Int): Int
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
public operator fun compareTo(other: Long): Int
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
public operator fun compareTo(other: Float): Int
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
public operator fun compareTo(other: Double): Int
|
|
|
|
|
|
|
|
|
|
/** Adds the other value to this value. */
|
|
|
|
@@ -314,7 +324,7 @@ public class Short private () : Number, Comparable<Short> {
|
|
|
|
|
* Represents a 32-bit signed integer.
|
|
|
|
|
* On the JVM, non-nullable values of this type are represented as values of the primitive type `int`.
|
|
|
|
|
*/
|
|
|
|
|
public class Int private () : Number, Comparable<Int> {
|
|
|
|
|
public class Int private constructor() : Number(), Comparable<Int> {
|
|
|
|
|
companion object {
|
|
|
|
|
/**
|
|
|
|
|
* A constant holding the minimum value an instance of Int can have.
|
|
|
|
@@ -327,41 +337,46 @@ public class Int private () : Number, Comparable<Int> {
|
|
|
|
|
public const val MAX_VALUE: Int = 2147483647
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
public operator fun compareTo(other: Byte): Int
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
public operator fun compareTo(other: Short): Int
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
public override operator fun compareTo(other: Int): Int
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
public operator fun compareTo(other: Long): Int
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
public operator fun compareTo(other: Float): Int
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
public operator fun compareTo(other: Double): Int
|
|
|
|
|
|
|
|
|
|
/** Adds the other value to this value. */
|
|
|
|
@@ -475,7 +490,7 @@ public class Int private () : Number, Comparable<Int> {
|
|
|
|
|
* Represents a 64-bit signed integer.
|
|
|
|
|
* On the JVM, non-nullable values of this type are represented as values of the primitive type `long`.
|
|
|
|
|
*/
|
|
|
|
|
public class Long private () : Number, Comparable<Long> {
|
|
|
|
|
public class Long private constructor() : Number(), Comparable<Long> {
|
|
|
|
|
companion object {
|
|
|
|
|
/**
|
|
|
|
|
* A constant holding the minimum value an instance of Long can have.
|
|
|
|
@@ -488,41 +503,46 @@ public class Long private () : Number, Comparable<Long> {
|
|
|
|
|
public const val MAX_VALUE: Long = 9223372036854775807L
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
public operator fun compareTo(other: Byte): Int
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
public operator fun compareTo(other: Short): Int
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
public operator fun compareTo(other: Int): Int
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
public override operator fun compareTo(other: Long): Int
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
public operator fun compareTo(other: Float): Int
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
public operator fun compareTo(other: Double): Int
|
|
|
|
|
|
|
|
|
|
/** Adds the other value to this value. */
|
|
|
|
@@ -636,7 +656,7 @@ public class Long private () : Number, Comparable<Long> {
|
|
|
|
|
* Represents a single-precision 32-bit IEEE 754 floating point number.
|
|
|
|
|
* On the JVM, non-nullable values of this type are represented as values of the primitive type `float`.
|
|
|
|
|
*/
|
|
|
|
|
public class Float private () : Number, Comparable<Float> {
|
|
|
|
|
public class Float private constructor() : Number(), Comparable<Float> {
|
|
|
|
|
companion object {
|
|
|
|
|
/**
|
|
|
|
|
* A constant holding the smallest *positive* nonzero value of Float.
|
|
|
|
@@ -664,41 +684,46 @@ public class Float private () : Number, Comparable<Float> {
|
|
|
|
|
public val NaN: Float
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
public operator fun compareTo(other: Byte): Int
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
public operator fun compareTo(other: Short): Int
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
public operator fun compareTo(other: Int): Int
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
public operator fun compareTo(other: Long): Int
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
public override operator fun compareTo(other: Float): Int
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
public operator fun compareTo(other: Double): Int
|
|
|
|
|
|
|
|
|
|
/** Adds the other value to this value. */
|
|
|
|
@@ -789,7 +814,7 @@ public class Float private () : Number, Comparable<Float> {
|
|
|
|
|
* Represents a double-precision 64-bit IEEE 754 floating point number.
|
|
|
|
|
* On the JVM, non-nullable values of this type are represented as values of the primitive type `double`.
|
|
|
|
|
*/
|
|
|
|
|
public class Double private () : Number, Comparable<Double> {
|
|
|
|
|
public class Double private constructor() : Number(), Comparable<Double> {
|
|
|
|
|
companion object {
|
|
|
|
|
/**
|
|
|
|
|
* A constant holding the smallest *positive* nonzero value of Double.
|
|
|
|
@@ -817,41 +842,46 @@ public class Double private () : Number, Comparable<Double> {
|
|
|
|
|
public val NaN: Double
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
public operator fun compareTo(other: Byte): Int
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
public operator fun compareTo(other: Short): Int
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
public operator fun compareTo(other: Int): Int
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
public operator fun compareTo(other: Long): Int
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
public operator fun compareTo(other: Float): Int
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Compares this value with the specified value for order.
|
|
|
|
|
* Returns zero if this value is equal to the specified other value, a negative number if its less than other,
|
|
|
|
|
* or a positive number if its greater than other.
|
|
|
|
|
*/
|
|
|
|
|
public override operator fun compareTo(other: Double): Int
|
|
|
|
|
|
|
|
|
|
/** Adds the other value to this value. */
|
|
|
|
|