Random

zio.Random
See theRandom companion object
trait Random extends Serializable

Attributes

Companion
object
Source
Random.scala
Graph
Supertypes
trait Serializable
class Object
trait Matchable
class Any
Known subtypes
trait TestRandom
class Test
object RandomLive
class RandomScala
Self type

Members list

Type members

Classlikes

trait UnsafeAPI extends Serializable

Attributes

Source
Random.scala
Supertypes
trait Serializable
class Object
trait Matchable
class Any

Value members

Abstract methods

def nextBoolean(implicit trace: Trace): UIO[Boolean]

Attributes

Source
Random.scala
def nextBytes(length: => Int)(implicit trace: Trace): UIO[Chunk[Byte]]

Attributes

Source
Random.scala
def nextDouble(implicit trace: Trace): UIO[Double]

Attributes

Source
Random.scala
def nextDoubleBetween(minInclusive: => Double, maxExclusive: => Double)(implicit trace: Trace): UIO[Double]

Attributes

Source
Random.scala
def nextFloat(implicit trace: Trace): UIO[Float]

Attributes

Source
Random.scala
def nextFloatBetween(minInclusive: => Float, maxExclusive: => Float)(implicit trace: Trace): UIO[Float]

Attributes

Source
Random.scala
def nextGaussian(implicit trace: Trace): UIO[Double]

Attributes

Source
Random.scala
def nextInt(implicit trace: Trace): UIO[Int]

Attributes

Source
Random.scala
def nextIntBetween(minInclusive: => Int, maxExclusive: => Int)(implicit trace: Trace): UIO[Int]

Attributes

Source
Random.scala
def nextIntBounded(n: => Int)(implicit trace: Trace): UIO[Int]

Attributes

Source
Random.scala
def nextLong(implicit trace: Trace): UIO[Long]

Attributes

Source
Random.scala
def nextLongBetween(minInclusive: => Long, maxExclusive: => Long)(implicit trace: Trace): UIO[Long]

Attributes

Source
Random.scala
def nextLongBounded(n: => Long)(implicit trace: Trace): UIO[Long]

Attributes

Source
Random.scala
def nextPrintableChar(implicit trace: Trace): UIO[Char]

Attributes

Source
Random.scala
def nextString(length: => Int)(implicit trace: Trace): UIO[String]

Attributes

Source
Random.scala
def nextUUID(implicit trace: Trace): UIO[UUID]

Attributes

Source
Random.scala
def setSeed(seed: => Long)(implicit trace: Trace): UIO[Unit]

Attributes

Source
Random.scala
def shuffle[A, Collection <: (Iterable)](collection: => Collection[A])(implicit bf: BuildFrom[Collection[A], A, Collection[A]], trace: Trace): UIO[Collection[A]]

Attributes

Source
Random.scala

Concrete methods

Attributes

Source
Random.scala