class Random extends Serializable
Ported from Apache Harmony and described by Donald E. Knuth in The Art of Computer Programming, Volume 2: Seminumerical Algorithms, section 3.2.1.
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- Random
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def doubles(streamSize: Long, randomNumberOrigin: Double, randomNumberBound: Double): DoubleStream
- def doubles(streamSize: Long): DoubleStream
- def doubles(randomNumberOrigin: Double, randomNumberBound: Double): DoubleStream
- def doubles(): DoubleStream
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def ints(streamSize: Long, randomNumberOrigin: Int, randomNumberBound: Int): IntStream
- def ints(streamSize: Long): IntStream
- def ints(randomNumberOrigin: Int, randomNumberBound: Int): IntStream
- def ints(): IntStream
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def longs(streamSize: Long, randomNumberOrigin: Long, randomNumberBound: Long): LongStream
- def longs(streamSize: Long): LongStream
- def longs(randomNumberOrigin: Long, randomNumberBound: Long): LongStream
- def longs(): LongStream
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def next(bits: Int): Int
- Attributes
- protected
- def nextBoolean(): Boolean
- def nextBytes(bytes: Array[Byte]): Unit
- def nextDouble(): Double
- def nextFloat(): Float
- def nextGaussian(): Double
- def nextInt(n: Int): Int
- def nextInt(): Int
- def nextLong(): Long
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final val randomStreamCharacteristics: 17728
- def setSeed(seed_in: Long): Unit
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()