Drop deprecated char binary operations.
This commit is contained in:
@@ -23,162 +23,27 @@ package kotlin
|
||||
public class Char private () : Comparable<Char> {
|
||||
companion object {}
|
||||
|
||||
/**
|
||||
* Compares the character code of this character 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.
|
||||
*/
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int or other operand to Char.")
|
||||
public 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.
|
||||
*/
|
||||
public override fun compareTo(other: Char): Int
|
||||
/**
|
||||
* Compares the character code of this character 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.
|
||||
*/
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int or other operand to Char.")
|
||||
public fun compareTo(other: Short): Int
|
||||
/**
|
||||
* Compares the character code of this character 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.
|
||||
*/
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int or other operand to Char.")
|
||||
public fun compareTo(other: Int): Int
|
||||
/**
|
||||
* Compares the character code of this character 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.
|
||||
*/
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int or other operand to Char.")
|
||||
public fun compareTo(other: Long): Int
|
||||
/**
|
||||
* Compares the character code of this character 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.
|
||||
*/
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun compareTo(other: Float): Int
|
||||
/**
|
||||
* Compares the character code of this character 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.
|
||||
*/
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun compareTo(other: Double): Int
|
||||
|
||||
/** Adds the other value to this value. */
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun plus(other: Byte): Int
|
||||
/** Adds the other value to this value. */
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun plus(other: Short): Int
|
||||
/** Adds the other value to this value. */
|
||||
deprecated("This operation will change return type to Char in M13. Either call toInt or toChar on return value or convert Char operand to Int.")
|
||||
public fun plus(other: Int): Int
|
||||
/** Adds the other value to this value. */
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun plus(other: Long): Long
|
||||
/** Adds the other value to this value. */
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun plus(other: Float): Float
|
||||
/** Adds the other value to this value. */
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun plus(other: Double): Double
|
||||
|
||||
/** Subtracts the other value from this value. */
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun minus(other: Byte): Int
|
||||
/** Subtracts the other value from this value. */
|
||||
public fun minus(other: Char): Int
|
||||
/** Subtracts the other value from this value. */
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun minus(other: Short): Int
|
||||
/** Subtracts the other value from this value. */
|
||||
deprecated("This operation will change return type to Char in M13. Either call toInt or toChar on return value or convert Char operand to Int.")
|
||||
public fun minus(other: Int): Int
|
||||
/** Subtracts the other value from this value. */
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun minus(other: Long): Long
|
||||
/** Subtracts the other value from this value. */
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun minus(other: Float): Float
|
||||
/** Subtracts the other value from this value. */
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun minus(other: Double): Double
|
||||
|
||||
/** Multiplies this value by the other value. */
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun times(other: Byte): Int
|
||||
/** Multiplies this value by the other value. */
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun times(other: Short): Int
|
||||
/** Multiplies this value by the other value. */
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun times(other: Int): Int
|
||||
/** Multiplies this value by the other value. */
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun times(other: Long): Long
|
||||
/** Multiplies this value by the other value. */
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun times(other: Float): Float
|
||||
/** Multiplies this value by the other value. */
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun times(other: Double): Double
|
||||
|
||||
/** Divides this value by the other value. */
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun div(other: Byte): Int
|
||||
/** Divides this value by the other value. */
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun div(other: Short): Int
|
||||
/** Divides this value by the other value. */
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun div(other: Int): Int
|
||||
/** Divides this value by the other value. */
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun div(other: Long): Long
|
||||
/** Divides this value by the other value. */
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun div(other: Float): Float
|
||||
/** Divides this value by the other value. */
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun div(other: Double): Double
|
||||
|
||||
/** Calculates the remainder of dividing this value by the other value. */
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun mod(other: Byte): Int
|
||||
/** Calculates the remainder of dividing this value by the other value. */
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun mod(other: Short): Int
|
||||
/** Calculates the remainder of dividing this value by the other value. */
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun mod(other: Int): Int
|
||||
/** Calculates the remainder of dividing this value by the other value. */
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun mod(other: Long): Long
|
||||
/** Calculates the remainder of dividing this value by the other value. */
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun mod(other: Float): Float
|
||||
/** Calculates the remainder of dividing this value by the other value. */
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun mod(other: Double): Double
|
||||
|
||||
/** Increments this value. */
|
||||
public fun inc(): Char
|
||||
/** Decrements this value. */
|
||||
public fun dec(): Char
|
||||
/** Returns this value. */
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun plus(): Int
|
||||
/** Returns the negative of this value. */
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun minus(): Int
|
||||
|
||||
/** Creates a range from this value to the specified [other] value. */
|
||||
public fun rangeTo(other: Char): CharRange
|
||||
|
||||
@@ -31,13 +31,6 @@ public class Byte private () : Number, Comparable<Byte> {
|
||||
* or a positive number if its greater than other.
|
||||
*/
|
||||
public override fun compareTo(other: Byte): Int
|
||||
/**
|
||||
* Compares this value with the character code of the specified character 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.
|
||||
*/
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun compareTo(other: Char): 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,
|
||||
@@ -72,9 +65,6 @@ public class Byte private () : Number, Comparable<Byte> {
|
||||
/** Adds the other value to this value. */
|
||||
public fun plus(other: Byte): Int
|
||||
/** Adds the other value to this value. */
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun plus(other: Char): Int
|
||||
/** Adds the other value to this value. */
|
||||
public fun plus(other: Short): Int
|
||||
/** Adds the other value to this value. */
|
||||
public fun plus(other: Int): Int
|
||||
@@ -88,9 +78,6 @@ public class Byte private () : Number, Comparable<Byte> {
|
||||
/** Subtracts the other value from this value. */
|
||||
public fun minus(other: Byte): Int
|
||||
/** Subtracts the other value from this value. */
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun minus(other: Char): Int
|
||||
/** Subtracts the other value from this value. */
|
||||
public fun minus(other: Short): Int
|
||||
/** Subtracts the other value from this value. */
|
||||
public fun minus(other: Int): Int
|
||||
@@ -104,9 +91,6 @@ public class Byte private () : Number, Comparable<Byte> {
|
||||
/** Multiplies this value by the other value. */
|
||||
public fun times(other: Byte): Int
|
||||
/** Multiplies this value by the other value. */
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun times(other: Char): Int
|
||||
/** Multiplies this value by the other value. */
|
||||
public fun times(other: Short): Int
|
||||
/** Multiplies this value by the other value. */
|
||||
public fun times(other: Int): Int
|
||||
@@ -120,9 +104,6 @@ public class Byte private () : Number, Comparable<Byte> {
|
||||
/** Divides this value by the other value. */
|
||||
public fun div(other: Byte): Int
|
||||
/** Divides this value by the other value. */
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun div(other: Char): Int
|
||||
/** Divides this value by the other value. */
|
||||
public fun div(other: Short): Int
|
||||
/** Divides this value by the other value. */
|
||||
public fun div(other: Int): Int
|
||||
@@ -136,9 +117,6 @@ public class Byte private () : Number, Comparable<Byte> {
|
||||
/** Calculates the remainder of dividing this value by the other value. */
|
||||
public fun mod(other: Byte): Int
|
||||
/** Calculates the remainder of dividing this value by the other value. */
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun mod(other: Char): Int
|
||||
/** Calculates the remainder of dividing this value by the other value. */
|
||||
public fun mod(other: Short): Int
|
||||
/** Calculates the remainder of dividing this value by the other value. */
|
||||
public fun mod(other: Int): Int
|
||||
@@ -161,9 +139,6 @@ public class Byte private () : Number, Comparable<Byte> {
|
||||
/** Creates a range from this value to the specified [other] value. */
|
||||
public fun rangeTo(other: Byte): ByteRange
|
||||
/** Creates a range from this value to the specified [other] value. */
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun rangeTo(other: Char): CharRange
|
||||
/** Creates a range from this value to the specified [other] value. */
|
||||
public fun rangeTo(other: Short): ShortRange
|
||||
/** Creates a range from this value to the specified [other] value. */
|
||||
public fun rangeTo(other: Int): IntRange
|
||||
@@ -196,13 +171,6 @@ public class Short private () : Number, Comparable<Short> {
|
||||
* or a positive number if its greater than other.
|
||||
*/
|
||||
public fun compareTo(other: Byte): Int
|
||||
/**
|
||||
* Compares this value with the character code of the specified character 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.
|
||||
*/
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun compareTo(other: Char): 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,
|
||||
@@ -237,9 +205,6 @@ public class Short private () : Number, Comparable<Short> {
|
||||
/** Adds the other value to this value. */
|
||||
public fun plus(other: Byte): Int
|
||||
/** Adds the other value to this value. */
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun plus(other: Char): Int
|
||||
/** Adds the other value to this value. */
|
||||
public fun plus(other: Short): Int
|
||||
/** Adds the other value to this value. */
|
||||
public fun plus(other: Int): Int
|
||||
@@ -253,9 +218,6 @@ public class Short private () : Number, Comparable<Short> {
|
||||
/** Subtracts the other value from this value. */
|
||||
public fun minus(other: Byte): Int
|
||||
/** Subtracts the other value from this value. */
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun minus(other: Char): Int
|
||||
/** Subtracts the other value from this value. */
|
||||
public fun minus(other: Short): Int
|
||||
/** Subtracts the other value from this value. */
|
||||
public fun minus(other: Int): Int
|
||||
@@ -269,9 +231,6 @@ public class Short private () : Number, Comparable<Short> {
|
||||
/** Multiplies this value by the other value. */
|
||||
public fun times(other: Byte): Int
|
||||
/** Multiplies this value by the other value. */
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun times(other: Char): Int
|
||||
/** Multiplies this value by the other value. */
|
||||
public fun times(other: Short): Int
|
||||
/** Multiplies this value by the other value. */
|
||||
public fun times(other: Int): Int
|
||||
@@ -285,9 +244,6 @@ public class Short private () : Number, Comparable<Short> {
|
||||
/** Divides this value by the other value. */
|
||||
public fun div(other: Byte): Int
|
||||
/** Divides this value by the other value. */
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun div(other: Char): Int
|
||||
/** Divides this value by the other value. */
|
||||
public fun div(other: Short): Int
|
||||
/** Divides this value by the other value. */
|
||||
public fun div(other: Int): Int
|
||||
@@ -301,9 +257,6 @@ public class Short private () : Number, Comparable<Short> {
|
||||
/** Calculates the remainder of dividing this value by the other value. */
|
||||
public fun mod(other: Byte): Int
|
||||
/** Calculates the remainder of dividing this value by the other value. */
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun mod(other: Char): Int
|
||||
/** Calculates the remainder of dividing this value by the other value. */
|
||||
public fun mod(other: Short): Int
|
||||
/** Calculates the remainder of dividing this value by the other value. */
|
||||
public fun mod(other: Int): Int
|
||||
@@ -326,9 +279,6 @@ public class Short private () : Number, Comparable<Short> {
|
||||
/** Creates a range from this value to the specified [other] value. */
|
||||
public fun rangeTo(other: Byte): ShortRange
|
||||
/** Creates a range from this value to the specified [other] value. */
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun rangeTo(other: Char): ShortRange
|
||||
/** Creates a range from this value to the specified [other] value. */
|
||||
public fun rangeTo(other: Short): ShortRange
|
||||
/** Creates a range from this value to the specified [other] value. */
|
||||
public fun rangeTo(other: Int): IntRange
|
||||
@@ -361,13 +311,6 @@ public class Int private () : Number, Comparable<Int> {
|
||||
* or a positive number if its greater than other.
|
||||
*/
|
||||
public fun compareTo(other: Byte): Int
|
||||
/**
|
||||
* Compares this value with the character code of the specified character 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.
|
||||
*/
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun compareTo(other: Char): 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,
|
||||
@@ -402,9 +345,6 @@ public class Int private () : Number, Comparable<Int> {
|
||||
/** Adds the other value to this value. */
|
||||
public fun plus(other: Byte): Int
|
||||
/** Adds the other value to this value. */
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun plus(other: Char): Int
|
||||
/** Adds the other value to this value. */
|
||||
public fun plus(other: Short): Int
|
||||
/** Adds the other value to this value. */
|
||||
public fun plus(other: Int): Int
|
||||
@@ -418,9 +358,6 @@ public class Int private () : Number, Comparable<Int> {
|
||||
/** Subtracts the other value from this value. */
|
||||
public fun minus(other: Byte): Int
|
||||
/** Subtracts the other value from this value. */
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun minus(other: Char): Int
|
||||
/** Subtracts the other value from this value. */
|
||||
public fun minus(other: Short): Int
|
||||
/** Subtracts the other value from this value. */
|
||||
public fun minus(other: Int): Int
|
||||
@@ -434,9 +371,6 @@ public class Int private () : Number, Comparable<Int> {
|
||||
/** Multiplies this value by the other value. */
|
||||
public fun times(other: Byte): Int
|
||||
/** Multiplies this value by the other value. */
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun times(other: Char): Int
|
||||
/** Multiplies this value by the other value. */
|
||||
public fun times(other: Short): Int
|
||||
/** Multiplies this value by the other value. */
|
||||
public fun times(other: Int): Int
|
||||
@@ -450,9 +384,6 @@ public class Int private () : Number, Comparable<Int> {
|
||||
/** Divides this value by the other value. */
|
||||
public fun div(other: Byte): Int
|
||||
/** Divides this value by the other value. */
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun div(other: Char): Int
|
||||
/** Divides this value by the other value. */
|
||||
public fun div(other: Short): Int
|
||||
/** Divides this value by the other value. */
|
||||
public fun div(other: Int): Int
|
||||
@@ -466,9 +397,6 @@ public class Int private () : Number, Comparable<Int> {
|
||||
/** Calculates the remainder of dividing this value by the other value. */
|
||||
public fun mod(other: Byte): Int
|
||||
/** Calculates the remainder of dividing this value by the other value. */
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun mod(other: Char): Int
|
||||
/** Calculates the remainder of dividing this value by the other value. */
|
||||
public fun mod(other: Short): Int
|
||||
/** Calculates the remainder of dividing this value by the other value. */
|
||||
public fun mod(other: Int): Int
|
||||
@@ -491,9 +419,6 @@ public class Int private () : Number, Comparable<Int> {
|
||||
/** Creates a range from this value to the specified [other] value. */
|
||||
public fun rangeTo(other: Byte): IntRange
|
||||
/** Creates a range from this value to the specified [other] value. */
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun rangeTo(other: Char): IntRange
|
||||
/** Creates a range from this value to the specified [other] value. */
|
||||
public fun rangeTo(other: Short): IntRange
|
||||
/** Creates a range from this value to the specified [other] value. */
|
||||
public fun rangeTo(other: Int): IntRange
|
||||
@@ -541,13 +466,6 @@ public class Long private () : Number, Comparable<Long> {
|
||||
* or a positive number if its greater than other.
|
||||
*/
|
||||
public fun compareTo(other: Byte): Int
|
||||
/**
|
||||
* Compares this value with the character code of the specified character 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.
|
||||
*/
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun compareTo(other: Char): 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,
|
||||
@@ -582,9 +500,6 @@ public class Long private () : Number, Comparable<Long> {
|
||||
/** Adds the other value to this value. */
|
||||
public fun plus(other: Byte): Long
|
||||
/** Adds the other value to this value. */
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun plus(other: Char): Long
|
||||
/** Adds the other value to this value. */
|
||||
public fun plus(other: Short): Long
|
||||
/** Adds the other value to this value. */
|
||||
public fun plus(other: Int): Long
|
||||
@@ -598,9 +513,6 @@ public class Long private () : Number, Comparable<Long> {
|
||||
/** Subtracts the other value from this value. */
|
||||
public fun minus(other: Byte): Long
|
||||
/** Subtracts the other value from this value. */
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun minus(other: Char): Long
|
||||
/** Subtracts the other value from this value. */
|
||||
public fun minus(other: Short): Long
|
||||
/** Subtracts the other value from this value. */
|
||||
public fun minus(other: Int): Long
|
||||
@@ -614,9 +526,6 @@ public class Long private () : Number, Comparable<Long> {
|
||||
/** Multiplies this value by the other value. */
|
||||
public fun times(other: Byte): Long
|
||||
/** Multiplies this value by the other value. */
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun times(other: Char): Long
|
||||
/** Multiplies this value by the other value. */
|
||||
public fun times(other: Short): Long
|
||||
/** Multiplies this value by the other value. */
|
||||
public fun times(other: Int): Long
|
||||
@@ -630,9 +539,6 @@ public class Long private () : Number, Comparable<Long> {
|
||||
/** Divides this value by the other value. */
|
||||
public fun div(other: Byte): Long
|
||||
/** Divides this value by the other value. */
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun div(other: Char): Long
|
||||
/** Divides this value by the other value. */
|
||||
public fun div(other: Short): Long
|
||||
/** Divides this value by the other value. */
|
||||
public fun div(other: Int): Long
|
||||
@@ -646,9 +552,6 @@ public class Long private () : Number, Comparable<Long> {
|
||||
/** Calculates the remainder of dividing this value by the other value. */
|
||||
public fun mod(other: Byte): Long
|
||||
/** Calculates the remainder of dividing this value by the other value. */
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun mod(other: Char): Long
|
||||
/** Calculates the remainder of dividing this value by the other value. */
|
||||
public fun mod(other: Short): Long
|
||||
/** Calculates the remainder of dividing this value by the other value. */
|
||||
public fun mod(other: Int): Long
|
||||
@@ -671,9 +574,6 @@ public class Long private () : Number, Comparable<Long> {
|
||||
/** Creates a range from this value to the specified [other] value. */
|
||||
public fun rangeTo(other: Byte): LongRange
|
||||
/** Creates a range from this value to the specified [other] value. */
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun rangeTo(other: Char): LongRange
|
||||
/** Creates a range from this value to the specified [other] value. */
|
||||
public fun rangeTo(other: Short): LongRange
|
||||
/** Creates a range from this value to the specified [other] value. */
|
||||
public fun rangeTo(other: Int): LongRange
|
||||
@@ -721,13 +621,6 @@ public class Float private () : Number, Comparable<Float> {
|
||||
* or a positive number if its greater than other.
|
||||
*/
|
||||
public fun compareTo(other: Byte): Int
|
||||
/**
|
||||
* Compares this value with the character code of the specified character 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.
|
||||
*/
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun compareTo(other: Char): 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,
|
||||
@@ -762,9 +655,6 @@ public class Float private () : Number, Comparable<Float> {
|
||||
/** Adds the other value to this value. */
|
||||
public fun plus(other: Byte): Float
|
||||
/** Adds the other value to this value. */
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun plus(other: Char): Float
|
||||
/** Adds the other value to this value. */
|
||||
public fun plus(other: Short): Float
|
||||
/** Adds the other value to this value. */
|
||||
public fun plus(other: Int): Float
|
||||
@@ -778,9 +668,6 @@ public class Float private () : Number, Comparable<Float> {
|
||||
/** Subtracts the other value from this value. */
|
||||
public fun minus(other: Byte): Float
|
||||
/** Subtracts the other value from this value. */
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun minus(other: Char): Float
|
||||
/** Subtracts the other value from this value. */
|
||||
public fun minus(other: Short): Float
|
||||
/** Subtracts the other value from this value. */
|
||||
public fun minus(other: Int): Float
|
||||
@@ -794,9 +681,6 @@ public class Float private () : Number, Comparable<Float> {
|
||||
/** Multiplies this value by the other value. */
|
||||
public fun times(other: Byte): Float
|
||||
/** Multiplies this value by the other value. */
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun times(other: Char): Float
|
||||
/** Multiplies this value by the other value. */
|
||||
public fun times(other: Short): Float
|
||||
/** Multiplies this value by the other value. */
|
||||
public fun times(other: Int): Float
|
||||
@@ -810,9 +694,6 @@ public class Float private () : Number, Comparable<Float> {
|
||||
/** Divides this value by the other value. */
|
||||
public fun div(other: Byte): Float
|
||||
/** Divides this value by the other value. */
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun div(other: Char): Float
|
||||
/** Divides this value by the other value. */
|
||||
public fun div(other: Short): Float
|
||||
/** Divides this value by the other value. */
|
||||
public fun div(other: Int): Float
|
||||
@@ -826,9 +707,6 @@ public class Float private () : Number, Comparable<Float> {
|
||||
/** Calculates the remainder of dividing this value by the other value. */
|
||||
public fun mod(other: Byte): Float
|
||||
/** Calculates the remainder of dividing this value by the other value. */
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun mod(other: Char): Float
|
||||
/** Calculates the remainder of dividing this value by the other value. */
|
||||
public fun mod(other: Short): Float
|
||||
/** Calculates the remainder of dividing this value by the other value. */
|
||||
public fun mod(other: Int): Float
|
||||
@@ -851,9 +729,6 @@ public class Float private () : Number, Comparable<Float> {
|
||||
/** Creates a range from this value to the specified [other] value. */
|
||||
public fun rangeTo(other: Byte): FloatRange
|
||||
/** Creates a range from this value to the specified [other] value. */
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun rangeTo(other: Char): FloatRange
|
||||
/** Creates a range from this value to the specified [other] value. */
|
||||
public fun rangeTo(other: Short): FloatRange
|
||||
/** Creates a range from this value to the specified [other] value. */
|
||||
public fun rangeTo(other: Int): FloatRange
|
||||
@@ -886,13 +761,6 @@ public class Double private () : Number, Comparable<Double> {
|
||||
* or a positive number if its greater than other.
|
||||
*/
|
||||
public fun compareTo(other: Byte): Int
|
||||
/**
|
||||
* Compares this value with the character code of the specified character 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.
|
||||
*/
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun compareTo(other: Char): 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,
|
||||
@@ -927,9 +795,6 @@ public class Double private () : Number, Comparable<Double> {
|
||||
/** Adds the other value to this value. */
|
||||
public fun plus(other: Byte): Double
|
||||
/** Adds the other value to this value. */
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun plus(other: Char): Double
|
||||
/** Adds the other value to this value. */
|
||||
public fun plus(other: Short): Double
|
||||
/** Adds the other value to this value. */
|
||||
public fun plus(other: Int): Double
|
||||
@@ -943,9 +808,6 @@ public class Double private () : Number, Comparable<Double> {
|
||||
/** Subtracts the other value from this value. */
|
||||
public fun minus(other: Byte): Double
|
||||
/** Subtracts the other value from this value. */
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun minus(other: Char): Double
|
||||
/** Subtracts the other value from this value. */
|
||||
public fun minus(other: Short): Double
|
||||
/** Subtracts the other value from this value. */
|
||||
public fun minus(other: Int): Double
|
||||
@@ -959,9 +821,6 @@ public class Double private () : Number, Comparable<Double> {
|
||||
/** Multiplies this value by the other value. */
|
||||
public fun times(other: Byte): Double
|
||||
/** Multiplies this value by the other value. */
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun times(other: Char): Double
|
||||
/** Multiplies this value by the other value. */
|
||||
public fun times(other: Short): Double
|
||||
/** Multiplies this value by the other value. */
|
||||
public fun times(other: Int): Double
|
||||
@@ -975,9 +834,6 @@ public class Double private () : Number, Comparable<Double> {
|
||||
/** Divides this value by the other value. */
|
||||
public fun div(other: Byte): Double
|
||||
/** Divides this value by the other value. */
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun div(other: Char): Double
|
||||
/** Divides this value by the other value. */
|
||||
public fun div(other: Short): Double
|
||||
/** Divides this value by the other value. */
|
||||
public fun div(other: Int): Double
|
||||
@@ -991,9 +847,6 @@ public class Double private () : Number, Comparable<Double> {
|
||||
/** Calculates the remainder of dividing this value by the other value. */
|
||||
public fun mod(other: Byte): Double
|
||||
/** Calculates the remainder of dividing this value by the other value. */
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun mod(other: Char): Double
|
||||
/** Calculates the remainder of dividing this value by the other value. */
|
||||
public fun mod(other: Short): Double
|
||||
/** Calculates the remainder of dividing this value by the other value. */
|
||||
public fun mod(other: Int): Double
|
||||
@@ -1016,9 +869,6 @@ public class Double private () : Number, Comparable<Double> {
|
||||
/** Creates a range from this value to the specified [other] value. */
|
||||
public fun rangeTo(other: Byte): DoubleRange
|
||||
/** Creates a range from this value to the specified [other] value. */
|
||||
deprecated("This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.")
|
||||
public fun rangeTo(other: Char): DoubleRange
|
||||
/** Creates a range from this value to the specified [other] value. */
|
||||
public fun rangeTo(other: Short): DoubleRange
|
||||
/** Creates a range from this value to the specified [other] value. */
|
||||
public fun rangeTo(other: Int): DoubleRange
|
||||
|
||||
Reference in New Issue
Block a user