RandomScala

final case class RandomScala(random: Random) extends Service
trait Product
trait Equals
trait Service
class Object
trait Matchable
class Any

Value members

Concrete methods

def nextBytes(length: Int): UIO[Chunk[Byte]]
def nextDoubleBetween(minInclusive: Double, maxExclusive: Double): UIO[Double]
def nextFloatBetween(minInclusive: Float, maxExclusive: Float): UIO[Float]
def nextIntBetween(minInclusive: Int, maxExclusive: Int): UIO[Int]
def nextLongBetween(minInclusive: Long, maxExclusive: Long): UIO[Long]
def nextString(length: Int): UIO[String]
def setSeed(seed: Long): UIO[Unit]
def shuffle[A, Collection <: (Iterable)](collection: Collection[A])(implicit bf: BuildFrom[Collection[A], A, Collection[A]]): UIO[Collection[A]]

Inherited methods

Inherited from:
Service
Inherited from:
Product