object IntTop extends NumInt[Int] with ScalarEqImpl[Int] with ScalarToNumImpl[Int] with FromAny[Int] with HasDefault[Int]
- Alphabetic
- By Inheritance
- IntTop
- HasDefault
- FromAny
- ScalarToNumImpl
- ToNum
- ScalarEqImpl
- Scalar
- NumInt
- NumLogic
- NumDiv
- Num
- Ord
- Eq
- Adjunct
- Writable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
Value Members
- final def !=(arg0: Any): scala.Boolean
- Definition Classes
- AnyRef → Any
- final def ##: scala.Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): scala.Boolean
- Definition Classes
- AnyRef → Any
- def abs(a: Int): Int
- def absDif(a: Int, b: Int): Int
- def and(a: Int, b: Int): Int
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clip(a: Int, lo: Int, hi: Int): Int
- def clip2(a: Int, b: Int): Int
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def cubed(a: Int): Int
- def defaultValue: Int
- Definition Classes
- IntTop → HasDefault
- def difSqr(a: Int, b: Int): Int
- def div(a: Int, b: Int): Int
- final def eq(a: scala.Int, b: scala.Int): Boolean
- Definition Classes
- ScalarEqImpl → Eq
- final def eq(arg0: AnyRef): scala.Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): scala.Boolean
- Definition Classes
- AnyRef → Any
- def excess(a: Int, b: Int): Int
- def fold(a: Int, lo: Int, hi: Int): Int
- def fold2(a: Int, b: Int): Int
- 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 withA
, returnsNone
.The extraction should be direct and lossless. For example, a
FromAny[Int]
should not try to parse a string, nor should it cast aLong
to anInt
. On the other hand, aFromAny[Double]
should accept aFloat
as input. - def gcd(a: Int, b: Int): Int
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def gt(a: Int, b: Int): Boolean
- def gteq(a: Int, b: Int): Boolean
- def hashCode(): scala.Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final val id: Int(0)
- def isEven(a: Int): Boolean
- final def isInstanceOf[T0]: scala.Boolean
- Definition Classes
- Any
- def isOdd(a: Int): Boolean
- def isPowerOfTwo(a: Int): Boolean
- def lcm(a: Int, b: Int): Int
- def lt(a: Int, b: Int): Boolean
- def lteq(a: Int, b: Int): Boolean
- def max(a: Int, b: Int): Int
- def min(a: Int, b: Int): Int
- def minus(a: Int, b: Int): Int
- def mod(a: Int, b: Int): Int
- final def ne(arg0: AnyRef): scala.Boolean
- Definition Classes
- AnyRef
- def negate(a: Int): Int
- final def neq(a: scala.Int, b: scala.Int): Boolean
- Definition Classes
- ScalarEqImpl → Eq
- def nextPowerOfTwo(a: Int): Int
- def not(a: Int): Int
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def one: Int
- def or(a: Int, b: Int): Int
- def plus(a: Int, b: Int): Int
- def rand[Tx](a: Int)(implicit r: Random[Tx], tx: Tx): Int
A random number between zero (inclusive) and
a
(exclusive). - def rand2[Tx](a: Int)(implicit r: Random[Tx], tx: Tx): Int
- def rangeRand[Tx](a: Int, b: Int)(implicit r: Random[Tx], tx: Tx): Int
- def rem(a: Int, b: Int): Int
- def roundTo(a: Int, b: Int): Int
- def roundUpTo(a: Int, b: Int): Int
- def shiftLeft(a: Int, b: Int): Int
- def shiftRight(a: Int, b: Int): Int
- def signum(a: Int): Int
- def sqrDif(a: Int, b: Int): Int
- def sqrSum(a: Int, b: Int): Int
- def squared(a: Int): Int
- def sumSqr(a: Int, b: Int): Int
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def times(a: Int, b: Int): Int
- def toDouble(a: Int): Double
- def toInt(a: Int): Int
- def toLong(a: Int): Long
- def toString(): String
- Definition Classes
- AnyRef → Any
- def trunc(a: Int, b: Int): Int
- def unsignedShiftRight(a: Int, b: Int): Int
- final def wait(arg0: scala.Long, arg1: scala.Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: scala.Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def wrap(a: Int, lo: Int, hi: Int): Int
- def wrap2(a: Int, b: Int): Int
- def write(out: DataOutput): Unit
- def xor(a: Int, b: Int): Int
- def zero: Int
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated