object LongTop extends NumInt[Long] with ScalarEqImpl[Long] with ScalarToNumImpl[Long] with FromAny[Long] with HasDefault[Long]
- Alphabetic
- By Inheritance
- LongTop
- 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: Long): Long
- def absDif(a: Long, b: Long): Long
- def and(a: Long, b: Long): Long
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clip(a: Long, lo: Long, hi: Long): Long
- def clip2(a: Long, b: Long): Long
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def cubed(a: Long): Long
- def defaultValue: Long
- Definition Classes
- LongTop → HasDefault
- def difSqr(a: Long, b: Long): Long
- def div(a: Long, b: Long): Long
- final def eq(a: scala.Long, b: scala.Long): 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: Long, b: Long): Long
- def fold(a: Long, lo: Long, hi: Long): Long
- def fold2(a: Long, b: Long): Long
- def fromAny(in: Any): Option[Long]
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: Long, b: Long): Long
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def gt(a: Long, b: Long): Boolean
- def gteq(a: Long, b: Long): Boolean
- def hashCode(): scala.Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final val id: Int(6)
- def isEven(a: Long): Boolean
- final def isInstanceOf[T0]: scala.Boolean
- Definition Classes
- Any
- def isOdd(a: Long): Boolean
- def isPowerOfTwo(a: Long): Boolean
- def lcm(a: Long, b: Long): Long
- def lt(a: Long, b: Long): Boolean
- def lteq(a: Long, b: Long): Boolean
- def max(a: Long, b: Long): Long
- def min(a: Long, b: Long): Long
- def minus(a: Long, b: Long): Long
- def mod(a: Long, b: Long): Long
- final def ne(arg0: AnyRef): scala.Boolean
- Definition Classes
- AnyRef
- def negate(a: Long): Long
- final def neq(a: scala.Long, b: scala.Long): Boolean
- Definition Classes
- ScalarEqImpl → Eq
- def nextPowerOfTwo(a: Long): Long
- def not(a: Long): Long
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def one: Long
- def or(a: Long, b: Long): Long
- def plus(a: Long, b: Long): Long
- def rand[Tx](a: Long)(implicit r: Random[Tx], tx: Tx): Long
A random number between zero (inclusive) and
a
(exclusive). - def rand2[Tx](a: Long)(implicit r: Random[Tx], tx: Tx): Long
- def rangeRand[Tx](a: Long, b: Long)(implicit r: Random[Tx], tx: Tx): Long
- def rem(a: Long, b: Long): Long
- def roundTo(a: Long, b: Long): Long
- def roundUpTo(a: Long, b: Long): Long
- def shiftLeft(a: Long, b: Long): Long
- def shiftRight(a: Long, b: Long): Long
- def signum(a: Long): Long
- def sqrDif(a: Long, b: Long): Long
- def sqrSum(a: Long, b: Long): Long
- def squared(a: Long): Long
- def sumSqr(a: Long, b: Long): Long
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def times(a: Long, b: Long): Long
- def toDouble(a: Long): Double
- def toInt(a: Long): Int
- def toLong(a: Long): Long
- def toString(): String
- Definition Classes
- AnyRef → Any
- def trunc(a: Long, b: Long): Long
- def unsignedShiftRight(a: Long, b: Long): Long
- 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: Long, lo: Long, hi: Long): Long
- def wrap2(a: Long, b: Long): Long
- def write(out: DataOutput): Unit
- def xor(a: Long, b: Long): Long
- def zero: Long
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated