UnsafeAPI

zio.Random.UnsafeAPI
trait UnsafeAPI

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

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