Class/Object

scala.scalajs.runtime

RuntimeLong

Related Docs: object RuntimeLong | package runtime

Permalink

final class RuntimeLong extends Number with Comparable[java.lang.Long]

emulate a Java-Long using three integers. taken from gwt LongLib: com.google.gwt.lang.LongLib

only used by runtime

holds values l, m, h (low, middle, high) s.t. (x.l + ((long) x.m << 22) + ((long) x.h << 44)) is equal to the original value

Self Type
RuntimeLong
Linear Supertypes
Comparable[java.lang.Long], Number, java.io.Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. RuntimeLong
  2. Comparable
  3. Number
  4. Serializable
  5. AnyRef
  6. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RuntimeLong(value: Int)

    Permalink

    Construct from an Int.

    Construct from an Int. This is the implementation of RuntimeLong.fromInt() in a way that does not require to load to module RuntimeLong.

  2. new RuntimeLong(l: Int, m: Int, h: Int)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def %(y: RuntimeLong): RuntimeLong

    Permalink
  4. def &(y: RuntimeLong): RuntimeLong

    Permalink
  5. def *(y: RuntimeLong): RuntimeLong

    Permalink
  6. def +(y: RuntimeLong): RuntimeLong

    Permalink
  7. def +(y: String): String

    Permalink
  8. def -(y: RuntimeLong): RuntimeLong

    Permalink

    subtraction note: gwt implements this individually

  9. def ->[B](y: B): (RuntimeLong, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from RuntimeLong to ArrowAssoc[RuntimeLong] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  10. def /(y: RuntimeLong): RuntimeLong

    Permalink
  11. def <(y: RuntimeLong): Boolean

    Permalink
    Annotations
    @inline()
  12. def <<(n_in: Int): RuntimeLong

    Permalink
  13. def <=(y: RuntimeLong): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  15. def >(y: RuntimeLong): Boolean

    Permalink
  16. def >=(y: RuntimeLong): Boolean

    Permalink
  17. def >>(n_in: Int): RuntimeLong

    Permalink

    arithmetic right shift

  18. def >>>(n_in: Int): RuntimeLong

    Permalink

    logical right shift

  19. def ^(y: RuntimeLong): RuntimeLong

    Permalink
  20. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  21. def bitCount: Int

    Permalink
  22. def byteValue(): Byte

    Permalink
    Definition Classes
    RuntimeLong → Number
  23. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. def compareTo(that: java.lang.Long): Int

    Permalink
    Definition Classes
    RuntimeLong → Comparable
  25. def compareTo(that: RuntimeLong): Int

    Permalink
  26. def doubleValue(): Double

    Permalink
    Definition Classes
    RuntimeLong → Number
  27. def ensuring(cond: (RuntimeLong) ⇒ Boolean, msg: ⇒ Any): RuntimeLong

    Permalink
    Implicit information
    This member is added by an implicit conversion from RuntimeLong to Ensuring[RuntimeLong] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  28. def ensuring(cond: (RuntimeLong) ⇒ Boolean): RuntimeLong

    Permalink
    Implicit information
    This member is added by an implicit conversion from RuntimeLong to Ensuring[RuntimeLong] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  29. def ensuring(cond: Boolean, msg: ⇒ Any): RuntimeLong

    Permalink
    Implicit information
    This member is added by an implicit conversion from RuntimeLong to Ensuring[RuntimeLong] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  30. def ensuring(cond: Boolean): RuntimeLong

    Permalink
    Implicit information
    This member is added by an implicit conversion from RuntimeLong to Ensuring[RuntimeLong] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  31. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  32. def equals(that: Any): Boolean

    Permalink
    Definition Classes
    RuntimeLong → AnyRef → Any
  33. def equals(y: RuntimeLong): Boolean

    Permalink
  34. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  35. def floatValue(): Float

    Permalink
    Definition Classes
    RuntimeLong → Number
  36. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from RuntimeLong to StringFormat[RuntimeLong] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  37. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  38. val h: Int

    Permalink
  39. def hashCode(): Int

    Permalink
    Definition Classes
    RuntimeLong → AnyRef → Any
  40. def intValue(): Int

    Permalink
    Definition Classes
    RuntimeLong → Number
  41. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  42. val l: Int

    Permalink
  43. def longValue(): Long

    Permalink
    Definition Classes
    RuntimeLong → Number
  44. val m: Int

    Permalink
  45. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  46. def notEquals(that: RuntimeLong): Boolean

    Permalink
  47. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  48. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  49. def numberOfLeadingZeros: Int

    Permalink
  50. def numberOfTrailingZeros: Int

    Permalink
  51. def shortValue(): Short

    Permalink
    Definition Classes
    RuntimeLong → Number
  52. def signum: RuntimeLong

    Permalink
  53. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  54. def toBinaryString: String

    Permalink
  55. def toByte: Byte

    Permalink
  56. def toChar: Char

    Permalink
  57. def toDouble: Double

    Permalink
  58. def toFloat: Float

    Permalink
  59. def toHexString: String

    Permalink
  60. def toInt: Int

    Permalink
  61. def toLong: Long

    Permalink
  62. def toOctalString: String

    Permalink
  63. def toShort: Short

    Permalink
  64. def toString(): String

    Permalink
    Definition Classes
    RuntimeLong → AnyRef → Any
  65. def unary_+: RuntimeLong

    Permalink
  66. def unary_-: RuntimeLong

    Permalink
  67. def unary_~: RuntimeLong

    Permalink
  68. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  69. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  70. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  71. def |(y: RuntimeLong): RuntimeLong

    Permalink
  72. def [B](y: B): (RuntimeLong, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from RuntimeLong to ArrowAssoc[RuntimeLong] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from RuntimeLong to any2stringadd[RuntimeLong] performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (runtimeLong: any2stringadd[RuntimeLong]).+(other)
    Definition Classes
    any2stringadd

Inherited from Comparable[java.lang.Long]

Inherited from Number

Inherited from java.io.Serializable

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from RuntimeLong to any2stringadd[RuntimeLong]

Inherited by implicit conversion StringFormat from RuntimeLong to StringFormat[RuntimeLong]

Inherited by implicit conversion Ensuring from RuntimeLong to Ensuring[RuntimeLong]

Inherited by implicit conversion ArrowAssoc from RuntimeLong to ArrowAssoc[RuntimeLong]

Ungrouped