final case class RandomScala(random: scala.util.Random) extends Random with Product with Serializable
An implementation of the Random
service backed by a scala.util.Random
.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- RandomScala
- Product
- Equals
- Random
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new RandomScala(random: scala.util.Random)
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
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def nextBoolean(implicit trace: Trace): UIO[Boolean]
- Definition Classes
- RandomScala → Random
- def nextBytes(length: => Int)(implicit trace: Trace): UIO[Chunk[Byte]]
- Definition Classes
- RandomScala → Random
- def nextDouble(implicit trace: Trace): UIO[Double]
- Definition Classes
- RandomScala → Random
- def nextDoubleBetween(minInclusive: => Double, maxExclusive: => Double)(implicit trace: Trace): UIO[Double]
- Definition Classes
- RandomScala → Random
- def nextFloat(implicit trace: Trace): UIO[Float]
- Definition Classes
- RandomScala → Random
- def nextFloatBetween(minInclusive: => Float, maxExclusive: => Float)(implicit trace: Trace): UIO[Float]
- Definition Classes
- RandomScala → Random
- def nextGaussian(implicit trace: Trace): UIO[Double]
- Definition Classes
- RandomScala → Random
- def nextInt(implicit trace: Trace): UIO[Int]
- Definition Classes
- RandomScala → Random
- def nextIntBetween(minInclusive: => Int, maxExclusive: => Int)(implicit trace: Trace): UIO[Int]
- Definition Classes
- RandomScala → Random
- def nextIntBounded(n: => Int)(implicit trace: Trace): UIO[Int]
- Definition Classes
- RandomScala → Random
- def nextLong(implicit trace: Trace): UIO[Long]
- Definition Classes
- RandomScala → Random
- def nextLongBetween(minInclusive: => Long, maxExclusive: => Long)(implicit trace: Trace): UIO[Long]
- Definition Classes
- RandomScala → Random
- def nextLongBounded(n: => Long)(implicit trace: Trace): UIO[Long]
- Definition Classes
- RandomScala → Random
- def nextPrintableChar(implicit trace: Trace): UIO[Char]
- Definition Classes
- RandomScala → Random
- def nextString(length: => Int)(implicit trace: Trace): UIO[String]
- Definition Classes
- RandomScala → Random
- def nextUUID(implicit trace: Trace): UIO[UUID]
- Definition Classes
- RandomScala → Random
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val random: scala.util.Random
- def setSeed(seed: => Long)(implicit trace: Trace): UIO[Unit]
- Definition Classes
- RandomScala → Random
- def shuffle[A, Collection[+Element] <: Iterable[Element]](collection: => Collection[A])(implicit bf: zio.BuildFrom[Collection[A], A, Collection[A]], trace: Trace): UIO[Collection[A]]
- Definition Classes
- RandomScala → Random
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val unsafe: UnsafeAPI
- Definition Classes
- RandomScala → Random
- 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()