Packages

object IntTop extends NumInt[Int] with ScalarEqImpl[Int] with ScalarToNumImpl[Int] with FromAny[Int] with HasDefault[Int]

Linear Supertypes
HasDefault[scala.Int], FromAny[scala.Int], ScalarToNumImpl[scala.Int], ToNum[scala.Int], ScalarEqImpl[scala.Int], Scalar[scala.Int], NumInt[scala.Int], NumLogic[scala.Int], NumDiv[scala.Int], Num[scala.Int], Ord[scala.Int], Eq[scala.Int], Adjunct, Writable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. IntTop
  2. HasDefault
  3. FromAny
  4. ScalarToNumImpl
  5. ToNum
  6. ScalarEqImpl
  7. Scalar
  8. NumInt
  9. NumLogic
  10. NumDiv
  11. Num
  12. Ord
  13. Eq
  14. Adjunct
  15. Writable
  16. AnyRef
  17. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. final type Boolean = scala.Boolean
    Definition Classes
    Scalar
  2. final type Double = scala.Double
    Definition Classes
    Scalar
  3. final type In = scala.Int
    Definition Classes
    Scalar
  4. final type Int = scala.Int
    Definition Classes
    Scalar
  5. final type Long = scala.Long
    Definition Classes
    Scalar

Value Members

  1. final def !=(arg0: Any): scala.Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: scala.Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): scala.Boolean
    Definition Classes
    AnyRef → Any
  4. def abs(a: Int): Int
    Definition Classes
    IntTopNum
  5. def absDif(a: Int, b: Int): Int
    Definition Classes
    IntTopNum
  6. def and(a: Int, b: Int): Int
    Definition Classes
    IntTopNumIntNumLogic
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clip(a: Int, lo: Int, hi: Int): Int
    Definition Classes
    IntTopNum
  9. def clip2(a: Int, b: Int): Int
    Definition Classes
    IntTopNum
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  11. def cubed(a: Int): Int
    Definition Classes
    IntTopNum
  12. def defaultValue: Int
    Definition Classes
    IntTopHasDefault
  13. def difSqr(a: Int, b: Int): Int
    Definition Classes
    IntTopNum
  14. def div(a: Int, b: Int): Int
    Definition Classes
    IntTopNumDiv
  15. final def eq(a: scala.Int, b: scala.Int): Boolean
    Definition Classes
    ScalarEqImpl → Eq
  16. final def eq(arg0: AnyRef): scala.Boolean
    Definition Classes
    AnyRef
  17. def equals(arg0: AnyRef): scala.Boolean
    Definition Classes
    AnyRef → Any
  18. def excess(a: Int, b: Int): Int
    Definition Classes
    IntTopNum
  19. def fold(a: Int, lo: Int, hi: Int): Int
    Definition Classes
    IntTopNum
  20. def fold2(a: Int, b: Int): Int
    Definition Classes
    IntTopNum
  21. def fromAny(in: Any): Option[Int]

    Tries to extract a value of type A from an unknown input value.

    Tries to extract a value of type A from an unknown input value. If the input value is generally incompatible with A, returns None.

    The extraction should be direct and lossless. For example, a FromAny[Int] should not try to parse a string, nor should it cast a Long to an Int. On the other hand, a FromAny[Double] should accept a Float as input.

    Definition Classes
    IntTopFromAny
  22. def gcd(a: Int, b: Int): Int
    Definition Classes
    IntTopNumInt
  23. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. def gt(a: Int, b: Int): Boolean
    Definition Classes
    IntTopOrd
  25. def gteq(a: Int, b: Int): Boolean
    Definition Classes
    IntTopOrd
  26. def hashCode(): scala.Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  27. final val id: Int(0)
    Definition Classes
    IntTopAdjunct
  28. def isEven(a: Int): Boolean
    Definition Classes
    IntTopNumInt
  29. final def isInstanceOf[T0]: scala.Boolean
    Definition Classes
    Any
  30. def isOdd(a: Int): Boolean
    Definition Classes
    IntTopNumInt
  31. def isPowerOfTwo(a: Int): Boolean
    Definition Classes
    IntTopNumInt
  32. def lcm(a: Int, b: Int): Int
    Definition Classes
    IntTopNumInt
  33. def lt(a: Int, b: Int): Boolean
    Definition Classes
    IntTopOrd
  34. def lteq(a: Int, b: Int): Boolean
    Definition Classes
    IntTopOrd
  35. def max(a: Int, b: Int): Int
    Definition Classes
    IntTopNum
  36. def min(a: Int, b: Int): Int
    Definition Classes
    IntTopNum
  37. def minus(a: Int, b: Int): Int
    Definition Classes
    IntTopNum
  38. def mod(a: Int, b: Int): Int
    Definition Classes
    IntTopNum
  39. final def ne(arg0: AnyRef): scala.Boolean
    Definition Classes
    AnyRef
  40. def negate(a: Int): Int
    Definition Classes
    IntTopNum
  41. final def neq(a: scala.Int, b: scala.Int): Boolean
    Definition Classes
    ScalarEqImpl → Eq
  42. def nextPowerOfTwo(a: Int): Int
    Definition Classes
    IntTopNumInt
  43. def not(a: Int): Int
    Definition Classes
    IntTopNumInt
  44. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  45. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  46. def one: Int
    Definition Classes
    IntTopNum
  47. def or(a: Int, b: Int): Int
    Definition Classes
    IntTopNumIntNumLogic
  48. def plus(a: Int, b: Int): Int
    Definition Classes
    IntTopNum
  49. def rand[Tx](a: Int)(implicit r: Random[Tx], tx: Tx): Int

    A random number between zero (inclusive) and a (exclusive).

    A random number between zero (inclusive) and a (exclusive). a may be negative, but it must not be zero.

    Definition Classes
    IntTopNum
  50. def rand2[Tx](a: Int)(implicit r: Random[Tx], tx: Tx): Int
    Definition Classes
    IntTopNum
  51. def rangeRand[Tx](a: Int, b: Int)(implicit r: Random[Tx], tx: Tx): Int
    Definition Classes
    IntTopNum
  52. def rem(a: Int, b: Int): Int
    Definition Classes
    IntTopNum
  53. def roundTo(a: Int, b: Int): Int
    Definition Classes
    IntTopNum
  54. def roundUpTo(a: Int, b: Int): Int
    Definition Classes
    IntTopNum
  55. def shiftLeft(a: Int, b: Int): Int
    Definition Classes
    IntTopNumInt
  56. def shiftRight(a: Int, b: Int): Int
    Definition Classes
    IntTopNumInt
  57. def signum(a: Int): Int
    Definition Classes
    IntTopNum
  58. def sqrDif(a: Int, b: Int): Int
    Definition Classes
    IntTopNum
  59. def sqrSum(a: Int, b: Int): Int
    Definition Classes
    IntTopNum
  60. def squared(a: Int): Int
    Definition Classes
    IntTopNum
  61. def sumSqr(a: Int, b: Int): Int
    Definition Classes
    IntTopNum
  62. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  63. def times(a: Int, b: Int): Int
    Definition Classes
    IntTopNum
  64. def toDouble(a: Int): Double
    Definition Classes
    IntTopToNum
  65. def toInt(a: Int): Int
    Definition Classes
    IntTopToNum
  66. def toLong(a: Int): Long
    Definition Classes
    IntTopToNum
  67. def toString(): String
    Definition Classes
    AnyRef → Any
  68. def trunc(a: Int, b: Int): Int
    Definition Classes
    IntTopNum
  69. def unsignedShiftRight(a: Int, b: Int): Int
    Definition Classes
    IntTopNumInt
  70. final def wait(arg0: scala.Long, arg1: scala.Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  71. final def wait(arg0: scala.Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  72. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  73. def wrap(a: Int, lo: Int, hi: Int): Int
    Definition Classes
    IntTopNum
  74. def wrap2(a: Int, b: Int): Int
    Definition Classes
    IntTopNum
  75. def write(out: DataOutput): Unit
    Definition Classes
    AdjunctWritable
  76. def xor(a: Int, b: Int): Int
    Definition Classes
    IntTopNumIntNumLogic
  77. def zero: Int
    Definition Classes
    IntTopNum

Deprecated Value Members

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

Inherited from HasDefault[scala.Int]

Inherited from FromAny[scala.Int]

Inherited from ScalarToNumImpl[scala.Int]

Inherited from ToNum[scala.Int]

Inherited from ScalarEqImpl[scala.Int]

Inherited from Scalar[scala.Int]

Inherited from NumInt[scala.Int]

Inherited from NumLogic[scala.Int]

Inherited from NumDiv[scala.Int]

Inherited from Num[scala.Int]

Inherited from Ord[scala.Int]

Inherited from Eq[scala.Int]

Inherited from Adjunct

Inherited from Writable

Inherited from AnyRef

Inherited from Any

Ungrouped