TRandom

zio.stm.TRandom
See theTRandom companion object
trait TRandom

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def nextBoolean: STM[Nothing, Boolean]
def nextBytes(length: Int): STM[Nothing, Chunk[Byte]]
def nextDouble: STM[Nothing, Double]
def nextDoubleBetween(minInclusive: Double, maxExclusive: Double): STM[Nothing, Double]
def nextFloat: STM[Nothing, Float]
def nextFloatBetween(minInclusive: Float, maxExclusive: Float): STM[Nothing, Float]
def nextGaussian: STM[Nothing, Double]
def nextInt: STM[Nothing, Int]
def nextIntBetween(minInclusive: Int, maxExclusive: Int): STM[Nothing, Int]
def nextIntBounded(n: Int): STM[Nothing, Int]
def nextLong: STM[Nothing, Long]
def nextLongBetween(minInclusive: Long, maxExclusive: Long): STM[Nothing, Long]
def nextLongBounded(n: Long): STM[Nothing, Long]
def nextPrintableChar: STM[Nothing, Char]
def nextString(length: Int): STM[Nothing, String]
def setSeed(seed: Long): STM[Nothing, Unit]
def shuffle[A, Collection <: (Iterable)](collection: Collection[A])(implicit bf: BuildFrom[Collection[A], A, Collection[A]]): STM[Nothing, Collection[A]]