Class/Object

org.scalacheck.rng

Seed

Related Docs: object Seed | package rng

Permalink

sealed abstract class Seed extends Serializable

Simple RNG by Bob Jenkins:

http://burtleburtle.net/bob/rand/smallprng.html

Source
Seed.scala
Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Seed
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract val a: Long

    Permalink
    Attributes
    protected
  2. abstract val b: Long

    Permalink
    Attributes
    protected
  3. abstract val c: Long

    Permalink
    Attributes
    protected
  4. abstract val d: Long

    Permalink
    Attributes
    protected

Concrete Value Members

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

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

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

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

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def double: (Double, Seed)

    Permalink

    Generates a Double value.

    Generates a Double value.

    The values will be uniformly distributed, and will be contained in the interval [0.0, 1.0).

  7. final def eq(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  13. def long: (Long, Seed)

    Permalink

    Generates a Long value.

    Generates a Long value.

    The values will be uniformly distributed.

  14. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. def next: Seed

    Permalink

    Generate the next seed in the RNG's sequence.

  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. def reseed(n: Long): Seed

    Permalink

    Reseed the RNG using the given Long value.

  19. def slide: Seed

    Permalink

    This is a quick way of deterministically sliding this RNG to a different part of the PRNG sequence.

    This is a quick way of deterministically sliding this RNG to a different part of the PRNG sequence.

    We use this as an easy way to "split" the RNG off into a new part of the sequence. We want to do this in situations where we've already called .next several times, and we want to avoid repeating those numbers while preserving determinism.

  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  21. def toBase64: String

    Permalink

    Generate a Base-64 representation of this seed.

    Generate a Base-64 representation of this seed.

    Given a seed, this method will return a String with 44 characters, according to the web-safe Base-64 specification (i.e. using minus (-) and underscore (_) in addition to alphanumeric characters).

    The 256-bit seed is serialized as a little-endian array of 64-bit Long values. Strings produced by this method are guaranteed to be parseable by the Seed.fromBase64 method.

  22. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped