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 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
  19. def 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
  20. 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
  21. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  22. def byteSize: Long

    The size of the NetworkElement in bytes.

    The size of the NetworkElement in bytes.

    Definition Classes
    NetworkElement
  23. lazy val bytes: ByteVector

    The byte representation of the NetworkElement

    The byte representation of the NetworkElement

    Definition Classes
    NumberNetworkElement
  24. def bytesLE: ByteVector

    The byte representation of the NetworkElement in little endian

    The byte representation of the NetworkElement in little endian

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

    The hexadecimal representation of the NetworkElement

    The hexadecimal representation of the NetworkElement

    Definition Classes
    Int32NetworkElement
  33. def hexLE: String

    The hexadecimal representation of the NetworkElement in little endian

    The hexadecimal representation of the NetworkElement in little endian

    Definition Classes
    NetworkElement
  34. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  35. 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
  36. 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
  37. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  38. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  39. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  40. 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
  41. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  42. def toBigInt: BigInt
    Definition Classes
    Number
  43. def toInt: Int
    Definition Classes
    Number
  44. def toLong: Long
    Definition Classes
    Number
  45. def toString(): String
    Definition Classes
    AnyRef → Any
  46. def unary_-: Int32
    Definition Classes
    Number
  47. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  48. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  49. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  50. def |(num: Int32): Int32
    Definition Classes
    Number

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

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