Seed

org.scalacheck.rng.Seed
See theSeed companion class
object Seed

Attributes

Companion
class
Source
Seed.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Seed.type

Members list

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

def apply(s: Long): Seed

Generate a deterministic seed.

Generate a deterministic seed.

Attributes

Source
Seed.scala
def fromBase64(s: String): Try[Seed]

Parse a Base-64 encoded seed, returning a Seed value.

Parse a Base-64 encoded seed, returning a Seed value.

This method requires the exact format produced by toBase64 (i.e. a 44-character string using the web-safe Base-64 alphabet). Other encodings must produce precisely the same outputs to be supported.

This method will throw an IllegalArgumentException if parsing fails.

Attributes

Source
Seed.scala
def fromLongs(a: Long, b: Long, c: Long, d: Long): Seed

Generate a seed directly from four Long values.

Generate a seed directly from four Long values.

Warning: unlike Seed.apply(Long), this method just directly constructs a seed from the four Long values. Prefer using Seed(Long) if you aren't sure whether these will be good seed values.

Attributes

Source
Seed.scala
def random(): Seed

Generate a random seed.

Generate a random seed.

Attributes

Source
Seed.scala