TRandom

zio.stm.TRandom
See theTRandom companion object
trait TRandom

Attributes

Companion
object
Source
TRandom.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def nextBoolean: STM[Nothing, Boolean]

Attributes

Source
TRandom.scala
def nextBytes(length: Int): STM[Nothing, Chunk[Byte]]

Attributes

Source
TRandom.scala
def nextDouble: STM[Nothing, Double]

Attributes

Source
TRandom.scala
def nextDoubleBetween(minInclusive: Double, maxExclusive: Double): STM[Nothing, Double]

Attributes

Source
TRandom.scala
def nextFloat: STM[Nothing, Float]

Attributes

Source
TRandom.scala
def nextFloatBetween(minInclusive: Float, maxExclusive: Float): STM[Nothing, Float]

Attributes

Source
TRandom.scala
def nextGaussian: STM[Nothing, Double]

Attributes

Source
TRandom.scala
def nextInt: STM[Nothing, Int]

Attributes

Source
TRandom.scala
def nextIntBetween(minInclusive: Int, maxExclusive: Int): STM[Nothing, Int]

Attributes

Source
TRandom.scala
def nextIntBounded(n: Int): STM[Nothing, Int]

Attributes

Source
TRandom.scala
def nextLong: STM[Nothing, Long]

Attributes

Source
TRandom.scala
def nextLongBetween(minInclusive: Long, maxExclusive: Long): STM[Nothing, Long]

Attributes

Source
TRandom.scala
def nextLongBounded(n: Long): STM[Nothing, Long]

Attributes

Source
TRandom.scala
def nextPrintableChar: STM[Nothing, Char]

Attributes

Source
TRandom.scala
def nextString(length: Int): STM[Nothing, String]

Attributes

Source
TRandom.scala
def setSeed(seed: Long): STM[Nothing, Unit]

Attributes

Source
TRandom.scala
def shuffle[A, Collection <: (Iterable)](collection: Collection[A])(implicit bf: BuildFrom[Collection[A], A, Collection[A]]): STM[Nothing, Collection[A]]

Attributes

Source
TRandom.scala