Packages

object TRandom extends Serializable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TRandom
  2. Serializable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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. val any: ZLayer[TRandom, Nothing, TRandom]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. val live: ZLayer[Any, Nothing, TRandom]
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. val nextBoolean: URSTM[TRandom, Boolean]

    Generates a pseudo-random boolean inside a transaction.

  15. def nextBytes(length: => Int): URSTM[TRandom, Chunk[Byte]]

    Generates a pseudo-random chunk of bytes of the specified length inside a transaction.

  16. val nextDouble: URSTM[TRandom, Double]

    Generates a pseudo-random, uniformly distributed double between 0.0 and 1.0 inside a transaction.

  17. def nextDoubleBetween(minInclusive: Double, maxExclusive: Double): URSTM[TRandom, Double]

    Generates a pseudo-random double in the specified range inside a transaction.

  18. val nextFloat: URSTM[TRandom, Float]

    Generates a pseudo-random, uniformly distributed float between 0.0 and 1.0 inside a transaction.

  19. def nextFloatBetween(minInclusive: Float, maxExclusive: Float): URSTM[TRandom, Float]

    Generates a pseudo-random float in the specified range inside a transaction.

  20. val nextGaussian: URSTM[TRandom, Double]

    Generates a pseudo-random double from a normal distribution with mean 0.0 and standard deviation 1.0 inside a transaction.

  21. val nextInt: URSTM[TRandom, Int]

    Generates a pseudo-random integer inside a transaction.

  22. def nextIntBetween(minInclusive: Int, maxExclusive: Int): URSTM[TRandom, Int]

    Generates a pseudo-random integer in the specified range inside a transaction.

  23. def nextIntBounded(n: => Int): URSTM[TRandom, Int]

    Generates a pseudo-random integer between 0 (inclusive) and the specified value (exclusive) inside a transaction.

  24. val nextLong: URSTM[TRandom, Long]

    Generates a pseudo-random long inside a transaction.

  25. def nextLongBetween(minInclusive: Long, maxExclusive: Long): URSTM[TRandom, Long]

    Generates a pseudo-random long in the specified range inside a transaction.

  26. def nextLongBounded(n: => Long): URSTM[TRandom, Long]

    Generates a pseudo-random long between 0 (inclusive) and the specified value (exclusive) inside a transaction.

  27. val nextPrintableChar: URSTM[TRandom, Char]

    Generates a pseudo-random character from the ASCII range 33-126 inside a transaction.

  28. def nextString(length: => Int): URSTM[TRandom, String]

    Generates a pseudo-random string of the specified length inside a transaction.

  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  31. def setSeed(seed: Long): URSTM[TRandom, Unit]

    Sets the seed of this random number generator inside a transaction.

  32. def shuffle[A](list: => List[A]): URSTM[TRandom, List[A]]

    Randomly shuffles the specified list.

  33. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  34. def toString(): String
    Definition Classes
    AnyRef → Any
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped