Seeded

tyrian.cmds.Random.Seeded
final case class Seeded(seed: Long)

Random values produced based on a specific seed value

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def alphaNumeric[F[_] : Sync](length: Int): Cmd[F, NextAlphaNumeric]

Random series of alphanumeric characters

Random series of alphanumeric characters

Attributes

def double[F[_] : Sync]: Cmd[F, NextDouble]

Random Double

Random Double

Attributes

def float[F[_] : Sync]: Cmd[F, NextFloat]

Random Float

Random Float

Attributes

def int[F[_] : Sync]: Cmd[F, NextInt]

Random Int

Random Int

Attributes

def int[F[_] : Sync](upperLimit: Int): Cmd[F, NextInt]

Random Int within an upper limit

Random Int within an upper limit

Attributes

def long[F[_] : Sync]: Cmd[F, NextLong]

Random Long

Random Long

Attributes

def long[F[_] : Sync](upperLimit: Long): Cmd[F, NextLong]

Random Long within an upper limit

Random Long within an upper limit

Attributes

def shuffle[F[_] : Sync, A](l: List[A]): Cmd[F, NextShuffle[A]]

Randomly shuffle a list of elements

Randomly shuffle a list of elements

Attributes

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product