RandomLive

zio.Random$.RandomLive$
object RandomLive extends Random

Attributes

Graph
Supertypes
trait Random
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Inherited classlikes

trait UnsafeAPI

Attributes

Inherited from:
Random
Graph
Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

def nextBoolean(implicit trace: Trace): UIO[Boolean]
def nextBytes(length: => Int)(implicit trace: Trace): UIO[Chunk[Byte]]
def nextDouble(implicit trace: Trace): UIO[Double]
def nextDoubleBetween(minInclusive: => Double, maxExclusive: => Double)(implicit trace: Trace): UIO[Double]
def nextFloat(implicit trace: Trace): UIO[Float]
def nextFloatBetween(minInclusive: => Float, maxExclusive: => Float)(implicit trace: Trace): UIO[Float]
def nextGaussian(implicit trace: Trace): UIO[Double]
def nextInt(implicit trace: Trace): UIO[Int]
def nextIntBetween(minInclusive: => Int, maxExclusive: => Int)(implicit trace: Trace): UIO[Int]
def nextIntBounded(n: => Int)(implicit trace: Trace): UIO[Int]
def nextLong(implicit trace: Trace): UIO[Long]
def nextLongBetween(minInclusive: => Long, maxExclusive: => Long)(implicit trace: Trace): UIO[Long]
def nextLongBounded(n: => Long)(implicit trace: Trace): UIO[Long]
def nextPrintableChar(implicit trace: Trace): UIO[Char]
def nextString(length: => Int)(implicit trace: Trace): UIO[String]
def nextUUID(implicit trace: Trace): UIO[UUID]
def setSeed(seed: => Long)(implicit trace: Trace): UIO[Unit]
def shuffle[A, Collection <: (Iterable)](collection: => Collection[A])(implicit bf: BuildFrom[Collection[A], A, Collection[A]], trace: Trace): UIO[Collection[A]]

Concrete fields

override val unsafe: UnsafeAPI