UnsafeAPI

zio.Random.UnsafeAPI
trait UnsafeAPI extends Serializable

Attributes

Source
Random.scala
Graph
Supertypes
trait Serializable
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def nextBoolean()(implicit unsafe: Unsafe): Boolean

Attributes

Source
Random.scala
def nextBytes(length: Int)(implicit unsafe: Unsafe): Chunk[Byte]

Attributes

Source
Random.scala
def nextDouble()(implicit unsafe: Unsafe): Double

Attributes

Source
Random.scala
def nextDoubleBetween(minInclusive: Double, maxExclusive: Double)(implicit unsafe: Unsafe): Double

Attributes

Source
Random.scala
def nextFloat()(implicit unsafe: Unsafe): Float

Attributes

Source
Random.scala
def nextFloatBetween(minInclusive: Float, maxExclusive: Float)(implicit unsafe: Unsafe): Float

Attributes

Source
Random.scala
def nextGaussian()(implicit unsafe: Unsafe): Double

Attributes

Source
Random.scala
def nextInt()(implicit unsafe: Unsafe): Int

Attributes

Source
Random.scala
def nextIntBetween(minInclusive: Int, maxExclusive: Int)(implicit unsafe: Unsafe): Int

Attributes

Source
Random.scala
def nextIntBounded(n: Int)(implicit unsafe: Unsafe): Int

Attributes

Source
Random.scala
def nextLong()(implicit unsafe: Unsafe): Long

Attributes

Source
Random.scala
def nextLongBetween(minInclusive: Long, maxExclusive: Long)(implicit unsafe: Unsafe): Long

Attributes

Source
Random.scala
def nextLongBounded(n: Long)(implicit unsafe: Unsafe): Long

Attributes

Source
Random.scala
def nextPrintableChar()(implicit unsafe: Unsafe): Char

Attributes

Source
Random.scala
def nextString(length: Int)(implicit unsafe: Unsafe): String

Attributes

Source
Random.scala
def nextUUID()(implicit unsafe: Unsafe): UUID

Attributes

Source
Random.scala
def setSeed(seed: Long)(implicit unsafe: Unsafe): Unit

Attributes

Source
Random.scala
def shuffle[A, Collection <: (Iterable)](collection: Collection[A])(implicit bf: BuildFrom[Collection[A], A, Collection[A]], unsafe: Unsafe): Collection[A]

Attributes

Source
Random.scala