Seed

object Seed
Companion:
class
trait Product
trait Mirror
class Object
trait Matchable
class Any
Seed.type

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from:
Mirror

The name of the type

The name of the type

Inherited from:
Mirror

Value members

Concrete methods

def apply(init: Long): Seed
def nextInt(max: Int): State[Seed, Int]
Value parameters:
percentile

a value between 0.0 and 1.0. e.g. 0.25 should return true roughly 25% of the time

Returns:

a boolean with the given percentage (between 0 and 1.0) of returning true

Concrete fields

a state which returns a double between 0.0 and 1.0

a state which returns a double between 0.0 and 1.0