Packages

c

zio.Random

RandomScala

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.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RandomScala
  2. Product
  3. Equals
  4. Random
  5. Serializable
  6. Serializable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RandomScala(random: scala.util.Random)

Type Members

  1. trait UnsafeAPI extends AnyRef
    Definition Classes
    Random

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  8. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  9. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  10. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def nextBoolean(implicit trace: Trace): UIO[Boolean]
    Definition Classes
    RandomScalaRandom
  12. def nextBytes(length: ⇒ Int)(implicit trace: Trace): UIO[Chunk[Byte]]
    Definition Classes
    RandomScalaRandom
  13. def nextDouble(implicit trace: Trace): UIO[Double]
    Definition Classes
    RandomScalaRandom
  14. def nextDoubleBetween(minInclusive: ⇒ Double, maxExclusive: ⇒ Double)(implicit trace: Trace): UIO[Double]
    Definition Classes
    RandomScalaRandom
  15. def nextFloat(implicit trace: Trace): UIO[Float]
    Definition Classes
    RandomScalaRandom
  16. def nextFloatBetween(minInclusive: ⇒ Float, maxExclusive: ⇒ Float)(implicit trace: Trace): UIO[Float]
    Definition Classes
    RandomScalaRandom
  17. def nextGaussian(implicit trace: Trace): UIO[Double]
    Definition Classes
    RandomScalaRandom
  18. def nextInt(implicit trace: Trace): UIO[Int]
    Definition Classes
    RandomScalaRandom
  19. def nextIntBetween(minInclusive: ⇒ Int, maxExclusive: ⇒ Int)(implicit trace: Trace): UIO[Int]
    Definition Classes
    RandomScalaRandom
  20. def nextIntBounded(n: ⇒ Int)(implicit trace: Trace): UIO[Int]
    Definition Classes
    RandomScalaRandom
  21. def nextLong(implicit trace: Trace): UIO[Long]
    Definition Classes
    RandomScalaRandom
  22. def nextLongBetween(minInclusive: ⇒ Long, maxExclusive: ⇒ Long)(implicit trace: Trace): UIO[Long]
    Definition Classes
    RandomScalaRandom
  23. def nextLongBounded(n: ⇒ Long)(implicit trace: Trace): UIO[Long]
    Definition Classes
    RandomScalaRandom
  24. def nextPrintableChar(implicit trace: Trace): UIO[Char]
    Definition Classes
    RandomScalaRandom
  25. def nextString(length: ⇒ Int)(implicit trace: Trace): UIO[String]
    Definition Classes
    RandomScalaRandom
  26. def nextUUID(implicit trace: Trace): UIO[UUID]
    Definition Classes
    RandomScalaRandom
  27. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. val random: scala.util.Random
  30. def setSeed(seed: ⇒ Long)(implicit trace: Trace): UIO[Unit]
    Definition Classes
    RandomScalaRandom
  31. 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
    RandomScalaRandom
  32. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Product

Inherited from Equals

Inherited from Random

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped