RandomCompanion

class Object
trait Matchable
class Any
object Random.type

Type members

Classlikes

implicit class RandomOps[A](lhs: R[A])

Types

type R[X] = Random[X, G]

Value members

Abstract methods

def spawn[B](op: Op[B]): R[B]

Concrete methods

def byte: R[Byte]
def char: R[Char]
def constant[B](b: B): R[B]
def float: R[Float]
def fromDist[B](dist: Dist[B]): R[B]
def generatorFromSeed(seed: Seed): G
def int: R[Int]
def int(n: Int): R[Int]
def int(n1: Int, n2: Int): R[Int]
def long: R[Long]
def next[B](f: Generator => B): R[B]
def short: R[Short]
def string(size: Size): R[String]
def tuple2[A, B](r1: R[A], r2: R[B]): R[(A, B)]
def tuple3[A, B, C](r1: R[A], r2: R[B], r3: R[C]): R[(A, B, C)]
def tuple4[A, B, C, D](r1: R[A], r2: R[B], r3: R[C], r4: R[D]): R[(A, B, C, D)]
def unit: R[Unit]

Implicits

Implicits

final implicit def RandomOps[A](lhs: R[A]): RandomOps[A]