trait Random extends Serializable
Ordering
- Alphabetic
- By Inheritance
Inherited
- Random
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Abstract Value Members
- abstract def nextBoolean(implicit trace: Trace): UIO[Boolean]
- abstract def nextBytes(length: => Int)(implicit trace: Trace): UIO[Chunk[Byte]]
- abstract def nextDouble(implicit trace: Trace): UIO[Double]
- abstract def nextDoubleBetween(minInclusive: => Double, maxExclusive: => Double)(implicit trace: Trace): UIO[Double]
- abstract def nextFloat(implicit trace: Trace): UIO[Float]
- abstract def nextFloatBetween(minInclusive: => Float, maxExclusive: => Float)(implicit trace: Trace): UIO[Float]
- abstract def nextGaussian(implicit trace: Trace): UIO[Double]
- abstract def nextInt(implicit trace: Trace): UIO[Int]
- abstract def nextIntBetween(minInclusive: => Int, maxExclusive: => Int)(implicit trace: Trace): UIO[Int]
- abstract def nextIntBounded(n: => Int)(implicit trace: Trace): UIO[Int]
- abstract def nextLong(implicit trace: Trace): UIO[Long]
- abstract def nextLongBetween(minInclusive: => Long, maxExclusive: => Long)(implicit trace: Trace): UIO[Long]
- abstract def nextLongBounded(n: => Long)(implicit trace: Trace): UIO[Long]
- abstract def nextPrintableChar(implicit trace: Trace): UIO[Char]
- abstract def nextString(length: => Int)(implicit trace: Trace): UIO[String]
- abstract def nextUUID(implicit trace: Trace): UIO[UUID]
- abstract def setSeed(seed: => Long)(implicit trace: Trace): UIO[Unit]
- abstract def shuffle[A, Collection[+Element] <: Iterable[Element]](collection: => Collection[A])(implicit bf: zio.BuildFrom[Collection[A], A, Collection[A]], trace: Trace): UIO[Collection[A]]
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def unsafe: UnsafeAPI
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()