wandou.math.random

JavaRNG

class JavaRNG extends Random with RepeatableRNG

This is the default JDK RNG extended to implement the RepeatableRNG interface (for consistency with the other RNGs in this package).

The MersenneTwisterRNG should be used in preference to this class because it is statistically more random and performs slightly better.

Linear Supertypes
RepeatableRNG, Random, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. JavaRNG
  2. RepeatableRNG
  3. Random
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

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

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

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  10. def getSeed: Array[Byte]

    returns

    The seed data used to initialise this pseudo-random number generator.

    Definition Classes
    JavaRNGRepeatableRNG
  11. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  14. def next(arg0: Int): Int

    Attributes
    protected[java.util]
    Definition Classes
    Random
  15. def nextBoolean(): Boolean

    Definition Classes
    Random
  16. def nextBytes(arg0: Array[Byte]): Unit

    Definition Classes
    Random
  17. def nextDouble(): Double

    Definition Classes
    Random
  18. def nextFloat(): Float

    Definition Classes
    Random
  19. def nextGaussian(): Double

    Definition Classes
    Random
  20. def nextInt(arg0: Int): Int

    Definition Classes
    Random
  21. def nextInt(): Int

    Definition Classes
    Random
  22. def nextLong(): Long

    Definition Classes
    Random
  23. final def notify(): Unit

    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  25. def setSeed(arg0: Long): Unit

    Definition Classes
    Random
  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  27. def toString(): String

    Definition Classes
    AnyRef → Any
  28. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from RepeatableRNG

Inherited from Random

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped