Class/Object

scala.scalanative.native

UInt

Related Docs: object UInt | package native

Permalink

final class UInt extends AnyVal with java.io.Serializable with Comparable[UInt]

UInt, a 32-bit unsigned integer.

Linear Supertypes
Comparable[UInt], java.io.Serializable, AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UInt
  2. Comparable
  3. Serializable
  4. AnyVal
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(x: ULong): Boolean

    Permalink

    Returns true if this value is not equal to x, false otherwise.

    Returns true if this value is not equal to x, false otherwise.

    Annotations
    @inline()
  2. final def !=(x: UInt): Boolean

    Permalink

    Returns true if this value is not equal to x, false otherwise.

    Returns true if this value is not equal to x, false otherwise.

    Annotations
    @inline()
  3. final def !=(x: UShort): Boolean

    Permalink

    Returns true if this value is not equal to x, false otherwise.

    Returns true if this value is not equal to x, false otherwise.

    Annotations
    @inline()
  4. final def !=(x: UByte): Boolean

    Permalink

    Returns true if this value is not equal to x, false otherwise.

    Returns true if this value is not equal to x, false otherwise.

    Annotations
    @inline()
  5. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  6. final def ##(): Int

    Permalink
    Definition Classes
    Any
  7. final def %(x: ULong): ULong

    Permalink

    Returns the remainder of the division of this value by x.

    Returns the remainder of the division of this value by x.

    Annotations
    @inline()
  8. final def %(x: UInt): UInt

    Permalink

    Returns the remainder of the division of this value by x.

    Returns the remainder of the division of this value by x.

    Annotations
    @inline()
  9. final def %(x: UShort): UInt

    Permalink

    Returns the remainder of the division of this value by x.

    Returns the remainder of the division of this value by x.

    Annotations
    @inline()
  10. final def %(x: UByte): UInt

    Permalink

    Returns the remainder of the division of this value by x.

    Returns the remainder of the division of this value by x.

    Annotations
    @inline()
  11. final def &(x: ULong): ULong

    Permalink

    Returns the bitwise AND of this value and x.

    Returns the bitwise AND of this value and x.

    Annotations
    @inline()
  12. final def &(x: UInt): UInt

    Permalink

    Returns the bitwise AND of this value and x.

    Returns the bitwise AND of this value and x.

    Annotations
    @inline()
  13. final def &(x: UShort): UInt

    Permalink

    Returns the bitwise AND of this value and x.

    Returns the bitwise AND of this value and x.

    Annotations
    @inline()
  14. final def &(x: UByte): UInt

    Permalink

    Returns the bitwise AND of this value and x.

    Returns the bitwise AND of this value and x.

    Annotations
    @inline()
  15. final def *(x: ULong): ULong

    Permalink

    Returns the product of this value and x.

    Returns the product of this value and x.

    Annotations
    @inline()
  16. final def *(x: UInt): UInt

    Permalink

    Returns the product of this value and x.

    Returns the product of this value and x.

    Annotations
    @inline()
  17. final def *(x: UShort): UInt

    Permalink

    Returns the product of this value and x.

    Returns the product of this value and x.

    Annotations
    @inline()
  18. final def *(x: UByte): UInt

    Permalink

    Returns the product of this value and x.

    Returns the product of this value and x.

    Annotations
    @inline()
  19. final def +(x: ULong): ULong

    Permalink

    Returns the sum of this value and x.

    Returns the sum of this value and x.

    Annotations
    @inline()
  20. final def +(x: UInt): UInt

    Permalink

    Returns the sum of this value and x.

    Returns the sum of this value and x.

    Annotations
    @inline()
  21. final def +(x: UShort): UInt

    Permalink

    Returns the sum of this value and x.

    Returns the sum of this value and x.

    Annotations
    @inline()
  22. final def +(x: UByte): UInt

    Permalink

    Returns the sum of this value and x.

    Returns the sum of this value and x.

    Annotations
    @inline()
  23. final def -(x: ULong): ULong

    Permalink

    Returns the difference of this value and x.

    Returns the difference of this value and x.

    Annotations
    @inline()
  24. final def -(x: UInt): UInt

    Permalink

    Returns the difference of this value and x.

    Returns the difference of this value and x.

    Annotations
    @inline()
  25. final def -(x: UShort): UInt

    Permalink

    Returns the difference of this value and x.

    Returns the difference of this value and x.

    Annotations
    @inline()
  26. final def -(x: UByte): UInt

    Permalink

    Returns the difference of this value and x.

    Returns the difference of this value and x.

    Annotations
    @inline()
  27. final def /(x: ULong): ULong

    Permalink

    Returns the quotient of this value and x.

    Returns the quotient of this value and x.

    Annotations
    @inline()
  28. final def /(x: UInt): UInt

    Permalink

    Returns the quotient of this value and x.

    Returns the quotient of this value and x.

    Annotations
    @inline()
  29. final def /(x: UShort): UInt

    Permalink

    Returns the quotient of this value and x.

    Returns the quotient of this value and x.

    Annotations
    @inline()
  30. final def /(x: UByte): UInt

    Permalink

    Returns the quotient of this value and x.

    Returns the quotient of this value and x.

    Annotations
    @inline()
  31. final def <(x: ULong): Boolean

    Permalink

    Returns true if this value is less than x, false otherwise.

    Returns true if this value is less than x, false otherwise.

    Annotations
    @inline()
  32. final def <(x: UInt): Boolean

    Permalink

    Returns true if this value is less than x, false otherwise.

    Returns true if this value is less than x, false otherwise.

    Annotations
    @inline()
  33. final def <(x: UShort): Boolean

    Permalink

    Returns true if this value is less than x, false otherwise.

    Returns true if this value is less than x, false otherwise.

    Annotations
    @inline()
  34. final def <(x: UByte): Boolean

    Permalink

    Returns true if this value is less than x, false otherwise.

    Returns true if this value is less than x, false otherwise.

    Annotations
    @inline()
  35. final def <<(x: Long): UInt

    Permalink

    Returns this value bit-shifted left by the specified number of bits, filling in the new right bits with zeroes.

    Returns this value bit-shifted left by the specified number of bits, filling in the new right bits with zeroes.

    Annotations
    @inline()
    Example:
    1. 6 << 3 == 48 // in binary: 0110 << 3 == 0110000
  36. final def <<(x: Int): UInt

    Permalink

    Returns this value bit-shifted left by the specified number of bits, filling in the new right bits with zeroes.

    Returns this value bit-shifted left by the specified number of bits, filling in the new right bits with zeroes.

    Annotations
    @inline()
    Example:
    1. 6 << 3 == 48 // in binary: 0110 << 3 == 0110000
  37. final def <=(x: ULong): Boolean

    Permalink

    Returns true if this value is less than or equal to x, false otherwise.

    Returns true if this value is less than or equal to x, false otherwise.

    Annotations
    @inline()
  38. final def <=(x: UInt): Boolean

    Permalink

    Returns true if this value is less than or equal to x, false otherwise.

    Returns true if this value is less than or equal to x, false otherwise.

    Annotations
    @inline()
  39. final def <=(x: UShort): Boolean

    Permalink

    Returns true if this value is less than or equal to x, false otherwise.

    Returns true if this value is less than or equal to x, false otherwise.

    Annotations
    @inline()
  40. final def <=(x: UByte): Boolean

    Permalink

    Returns true if this value is less than or equal to x, false otherwise.

    Returns true if this value is less than or equal to x, false otherwise.

    Annotations
    @inline()
  41. final def ==(x: ULong): Boolean

    Permalink

    Returns true if this value is equal to x, false otherwise.

    Returns true if this value is equal to x, false otherwise.

    Annotations
    @inline()
  42. final def ==(x: UInt): Boolean

    Permalink

    Returns true if this value is equal to x, false otherwise.

    Returns true if this value is equal to x, false otherwise.

    Annotations
    @inline()
  43. final def ==(x: UShort): Boolean

    Permalink

    Returns true if this value is equal to x, false otherwise.

    Returns true if this value is equal to x, false otherwise.

    Annotations
    @inline()
  44. final def ==(x: UByte): Boolean

    Permalink

    Returns true if this value is equal to x, false otherwise.

    Returns true if this value is equal to x, false otherwise.

    Annotations
    @inline()
  45. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  46. final def >(x: ULong): Boolean

    Permalink

    Returns true if this value is greater than x, false otherwise.

    Returns true if this value is greater than x, false otherwise.

    Annotations
    @inline()
  47. final def >(x: UInt): Boolean

    Permalink

    Returns true if this value is greater than x, false otherwise.

    Returns true if this value is greater than x, false otherwise.

    Annotations
    @inline()
  48. final def >(x: UShort): Boolean

    Permalink

    Returns true if this value is greater than x, false otherwise.

    Returns true if this value is greater than x, false otherwise.

    Annotations
    @inline()
  49. final def >(x: UByte): Boolean

    Permalink

    Returns true if this value is greater than x, false otherwise.

    Returns true if this value is greater than x, false otherwise.

    Annotations
    @inline()
  50. final def >=(x: ULong): Boolean

    Permalink

    Returns true if this value is greater than or equal to x, false otherwise.

    Returns true if this value is greater than or equal to x, false otherwise.

    Annotations
    @inline()
  51. final def >=(x: UInt): Boolean

    Permalink

    Returns true if this value is greater than or equal to x, false otherwise.

    Returns true if this value is greater than or equal to x, false otherwise.

    Annotations
    @inline()
  52. final def >=(x: UShort): Boolean

    Permalink

    Returns true if this value is greater than or equal to x, false otherwise.

    Returns true if this value is greater than or equal to x, false otherwise.

    Annotations
    @inline()
  53. final def >=(x: UByte): Boolean

    Permalink

    Returns true if this value is greater than or equal to x, false otherwise.

    Returns true if this value is greater than or equal to x, false otherwise.

    Annotations
    @inline()
  54. final def >>(x: Long): UInt

    Permalink

    Returns this value bit-shifted left by the specified number of bits, filling in the right bits with the same value as the left-most bit of this.

    Returns this value bit-shifted left by the specified number of bits, filling in the right bits with the same value as the left-most bit of this.

    Annotations
    @inline()
    Example:
    1. 4294967275 >> 3 == 4294967293
      // in binary: 11111111 11111111 11111111 11101011 >> 3 ==
      //            11111111 11111111 11111111 11111101
  55. final def >>(x: Int): UInt

    Permalink

    Returns this value bit-shifted left by the specified number of bits, filling in the right bits with the same value as the left-most bit of this.

    Returns this value bit-shifted left by the specified number of bits, filling in the right bits with the same value as the left-most bit of this.

    Annotations
    @inline()
    Example:
    1. 4294967275 >> 3 == 4294967293
      // in binary: 11111111 11111111 11111111 11101011 >> 3 ==
      //            11111111 11111111 11111111 11111101
  56. final def >>>(x: Long): UInt

    Permalink

    Returns this value bit-shifted right by the specified number of bits, filling the new left bits with zeroes.

    Returns this value bit-shifted right by the specified number of bits, filling the new left bits with zeroes.

    Annotations
    @inline()
    Examples:
    1. 4294967275 >>> 3 == 536870909
      // in binary: 11111111 11111111 11111111 11101011 >>> 3 ==
      //            00011111 11111111 11111111 11111101
    2. ,
    3. 21 >>> 3 == 2 // in binary: 010101 >>> 3 == 010
  57. final def >>>(x: Int): UInt

    Permalink

    Returns this value bit-shifted right by the specified number of bits, filling the new left bits with zeroes.

    Returns this value bit-shifted right by the specified number of bits, filling the new left bits with zeroes.

    Annotations
    @inline()
    Examples:
    1. 4294967275 >>> 3 == 536870909
      // in binary: 11111111 11111111 11111111 11101011 >>> 3 ==
      //            00011111 11111111 11111111 11111101
    2. ,
    3. 21 >>> 3 == 2 // in binary: 010101 >>> 3 == 010
  58. final def ^(x: ULong): ULong

    Permalink

    Returns the bitwise XOR of this value and x.

    Returns the bitwise XOR of this value and x.

    Annotations
    @inline()
  59. final def ^(x: UInt): UInt

    Permalink

    Returns the bitwise XOR of this value and x.

    Returns the bitwise XOR of this value and x.

    Annotations
    @inline()
  60. final def ^(x: UShort): UInt

    Permalink

    Returns the bitwise XOR of this value and x.

    Returns the bitwise XOR of this value and x.

    Annotations
    @inline()
  61. final def ^(x: UByte): UInt

    Permalink

    Returns the bitwise XOR of this value and x.

    Returns the bitwise XOR of this value and x.

    Annotations
    @inline()
  62. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  63. final def compareTo(x: UInt): Int

    Permalink
    Definition Classes
    UInt → Comparable
    Annotations
    @inline()
  64. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  65. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  66. final def max(that: UInt): UInt

    Permalink
    Annotations
    @inline()
  67. final def min(that: UInt): UInt

    Permalink
    Annotations
    @inline()
  68. final def toBinaryString: String

    Permalink
    Annotations
    @inline()
  69. final def toByte: Byte

    Permalink
    Annotations
    @inline()
  70. final def toChar: Char

    Permalink
    Annotations
    @inline()
  71. final def toDouble: Double

    Permalink
    Annotations
    @inline()
  72. final def toFloat: Float

    Permalink
    Annotations
    @inline()
  73. final def toHexString: String

    Permalink
    Annotations
    @inline()
  74. final def toInt: Int

    Permalink
    Annotations
    @inline()
  75. final def toLong: Long

    Permalink
    Annotations
    @inline()
  76. final def toOctalString: String

    Permalink
    Annotations
    @inline()
  77. final def toShort: Short

    Permalink
    Annotations
    @inline()
  78. final def toString(): String

    Permalink
    Definition Classes
    UInt → Any
    Annotations
    @inline()
  79. final def toUByte: UByte

    Permalink
    Annotations
    @inline()
  80. final def toUInt: UInt

    Permalink
    Annotations
    @inline()
  81. final def toULong: ULong

    Permalink
    Annotations
    @inline()
  82. final def toUShort: UShort

    Permalink
    Annotations
    @inline()
  83. final def unary_~: UInt

    Permalink

    Returns the bitwise negation of this value.

    Returns the bitwise negation of this value.

    Annotations
    @inline()
    Example:
    1. ~5 == 4294967290
      // in binary: ~00000101 ==
      //             11111010
  84. final def |(x: ULong): ULong

    Permalink

    Returns the bitwise OR of this value and x.

    Returns the bitwise OR of this value and x.

    Annotations
    @inline()
  85. final def |(x: UInt): UInt

    Permalink

    Returns the bitwise OR of this value and x.

    Returns the bitwise OR of this value and x.

    Annotations
    @inline()
  86. final def |(x: UShort): UInt

    Permalink

    Returns the bitwise OR of this value and x.

    Returns the bitwise OR of this value and x.

    Annotations
    @inline()
  87. final def |(x: UByte): UInt

    Permalink

    Returns the bitwise OR of this value and x.

    Returns the bitwise OR of this value and x.

    Annotations
    @inline()

Inherited from Comparable[UInt]

Inherited from java.io.Serializable

Inherited from AnyVal

Inherited from Any

Ungrouped