Packages

sealed abstract class Int32 extends SignedNumber[Int32]

Represents a int32_t in C

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Int32
  2. SignedNumber
  3. Number
  4. BasicArithmetic
  5. Ordered
  6. Comparable
  7. NetworkElement
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. type A = BigInt
    Definition Classes
    Number

Abstract Value Members

  1. abstract def underlying: A

    The underlying scala number used to to hold the number

    The underlying scala number used to to hold the number

    Attributes
    protected
    Definition Classes
    Number

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def &(num: Int32): Int32
    Definition Classes
    Number
  4. def *(num: Int32): Int32
    Definition Classes
    NumberBasicArithmetic
  5. def *(factor: BigInt): Int32
    Definition Classes
    NumberBasicArithmetic
  6. def +(num: Int32): Int32
    Definition Classes
    NumberBasicArithmetic
  7. def -(num: Int32): Int32
    Definition Classes
    NumberBasicArithmetic
  8. def /(num: Int32): Int32
    Definition Classes
    Number
  9. def <(that: Int32): Boolean
    Definition Classes
    Ordered
  10. def <<(num: Int32): Int32
    Definition Classes
    Number
  11. def <<(num: Int): Int32
    Definition Classes
    Number
  12. def <=(that: Int32): Boolean
    Definition Classes
    Ordered
  13. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  14. def >(that: Int32): Boolean
    Definition Classes
    Ordered
  15. def >=(that: Int32): Boolean
    Definition Classes
    Ordered
  16. def >>(num: Int32): Int32
    Definition Classes
    Number
  17. def >>(num: Int): Int32
    Definition Classes
    Number
  18. def ^(num: Long): Int32
    Definition Classes
    Number
  19. def ^(num: Int32): Int32
    Definition Classes
    Number
  20. def addSafe(n: Int32): Try[Int32]

    Some classes have restrictions on upper bounds for it's underlying value.

    Some classes have restrictions on upper bounds for it's underlying value. This might cause the + operator to throw. This method wraps it in a Try block.

    Definition Classes
    BasicArithmetic
  21. val andMask: BigInt

    This is used to determine the valid amount of bytes in a number for instance a UInt8 has an andMask of 0xff a UInt32 has an andMask of 0xffffffff

    This is used to determine the valid amount of bytes in a number for instance a UInt8 has an andMask of 0xff a UInt32 has an andMask of 0xffffffff

    Definition Classes
    Int32Number
  22. def apply: (A) => Int32

    Factory function to create the underlying T, for instance a UInt32.

    Factory function to create the underlying T, for instance a UInt32. This method must check if the parameter is in the required range.

    Definition Classes
    Int32Number
  23. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  24. def byteSize: Long

    The size of the NetworkElement in bytes.

    The size of the NetworkElement in bytes.

    Definition Classes
    NetworkElement
  25. val bytes: ByteVector

    The byte representation of the NetworkElement

    The byte representation of the NetworkElement

    Definition Classes
    Int32NetworkElement
  26. def bytesLE: ByteVector

    The byte representation of the NetworkElement in little endian

    The byte representation of the NetworkElement in little endian

    Definition Classes
    NetworkElement
  27. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  28. def compare(num: Int32): Int
    Definition Classes
    Number → Ordered
  29. def compareTo(that: Int32): Int
    Definition Classes
    Ordered → Comparable
  30. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  31. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  32. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  33. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  34. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  35. def hex: String

    The hexadecimal representation of the NetworkElement

    The hexadecimal representation of the NetworkElement

    Definition Classes
    NetworkElement
  36. def hexLE: String

    The hexadecimal representation of the NetworkElement in little endian

    The hexadecimal representation of the NetworkElement in little endian

    Definition Classes
    NetworkElement
  37. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  38. final def isSigned: Boolean
    Definition Classes
    SignedNumberNumber
  39. def multiplySafe(factor: Int32): Try[Int32]

    Some classes have restrictions on upper bounds for it's underlying value.

    Some classes have restrictions on upper bounds for it's underlying value. This might cause the * operator to throw. This method wraps it in a Try block.

    Definition Classes
    BasicArithmetic
  40. def multiplySafe(factor: BigInt): Try[Int32]

    Some classes have restrictions on upper bounds for it's underlying value.

    Some classes have restrictions on upper bounds for it's underlying value. This might cause the * operator to throw. This method wraps it in a Try block.

    Definition Classes
    BasicArithmetic
  41. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  42. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  43. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  44. def subtractSafe(n: Int32): Try[Int32]

    Some classes have restrictions on lower bounds for it's underlying value.

    Some classes have restrictions on lower bounds for it's underlying value. This might cause the - operator to throw. This method wraps it in a Try block.

    Definition Classes
    BasicArithmetic
  45. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  46. def toBigInt: BigInt
    Definition Classes
    Number
  47. def toInt: Int
    Definition Classes
    Number
  48. def toLong: Long
    Definition Classes
    Number
  49. def toString(): String
    Definition Classes
    AnyRef → Any
  50. def toUInt32: UInt32
  51. def truncatedBytes: ByteVector
    Definition Classes
    Number
  52. def unary_-: Int32
    Definition Classes
    Number
  53. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  54. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  55. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  56. def xor(num: Long): Int32
    Definition Classes
    Number
  57. def xor(num: Int32): Int32
    Definition Classes
    Number
  58. def |(num: Int32): Int32
    Definition Classes
    Number

Inherited from SignedNumber[Int32]

Inherited from Number[Int32]

Inherited from BasicArithmetic[Int32]

Inherited from Ordered[Int32]

Inherited from Comparable[Int32]

Inherited from NetworkElement

Inherited from AnyRef

Inherited from Any

Ungrouped