- Companion:
- class
Type members
Classlikes
The buffer of the TestRandom
.
The buffer of the TestRandom
.
The seed of the TestRandom
.
The seed of the TestRandom
.
Adapted from @gzmo work in Scala.js (https://github.com/scala-js/scala-js/pull/780)
Adapted from @gzmo work in Scala.js (https://github.com/scala-js/scala-js/pull/780)
Value members
Concrete methods
Accesses a TestRandom
instance in the environment and clears the buffer
of booleans.
Accesses a TestRandom
instance in the environment and clears the buffer
of booleans.
Accesses a TestRandom
instance in the environment and clears the buffer
of bytes.
Accesses a TestRandom
instance in the environment and clears the buffer
of bytes.
Accesses a TestRandom
instance in the environment and clears the buffer
of characters.
Accesses a TestRandom
instance in the environment and clears the buffer
of characters.
Accesses a TestRandom
instance in the environment and clears the buffer
of doubles.
Accesses a TestRandom
instance in the environment and clears the buffer
of doubles.
Accesses a TestRandom
instance in the environment and clears the buffer
of floats.
Accesses a TestRandom
instance in the environment and clears the buffer
of floats.
Accesses a TestRandom
instance in the environment and clears the buffer
of integers.
Accesses a TestRandom
instance in the environment and clears the buffer
of integers.
Accesses a TestRandom
instance in the environment and clears the buffer
of longs.
Accesses a TestRandom
instance in the environment and clears the buffer
of longs.
Accesses a TestRandom
instance in the environment and clears the buffer
of strings.
Accesses a TestRandom
instance in the environment and clears the buffer
of strings.
Accesses a TestRandom
instance in the environment and clears the buffer
of UUIDs.
Accesses a TestRandom
instance in the environment and clears the buffer
of UUIDs.
Accesses a TestRandom
instance in the environment and feeds the buffer
with the specified sequence of booleans.
Accesses a TestRandom
instance in the environment and feeds the buffer
with the specified sequence of booleans.
Accesses a TestRandom
instance in the environment and feeds the buffer
with the specified sequence of chunks of bytes.
Accesses a TestRandom
instance in the environment and feeds the buffer
with the specified sequence of chunks of bytes.
Accesses a TestRandom
instance in the environment and feeds the buffer
with the specified sequence of characters.
Accesses a TestRandom
instance in the environment and feeds the buffer
with the specified sequence of characters.
Accesses a TestRandom
instance in the environment and feeds the buffer
with the specified sequence of doubles.
Accesses a TestRandom
instance in the environment and feeds the buffer
with the specified sequence of doubles.
Accesses a TestRandom
instance in the environment and feeds the buffer
with the specified sequence of floats.
Accesses a TestRandom
instance in the environment and feeds the buffer
with the specified sequence of floats.
Accesses a TestRandom
instance in the environment and feeds the buffer
with the specified sequence of integers.
Accesses a TestRandom
instance in the environment and feeds the buffer
with the specified sequence of integers.
Accesses a TestRandom
instance in the environment and feeds the buffer
with the specified sequence of longs.
Accesses a TestRandom
instance in the environment and feeds the buffer
with the specified sequence of longs.
Accesses a TestRandom
instance in the environment and feeds the buffer
with the specified sequence of strings.
Accesses a TestRandom
instance in the environment and feeds the buffer
with the specified sequence of strings.
Accesses a TestRandom
instance in the environment and feeds the buffer
with the specified sequence of UUIDs.
Accesses a TestRandom
instance in the environment and feeds the buffer
with the specified sequence of UUIDs.
Accesses a TestRandom
instance in the environment and gets the seed.
Accesses a TestRandom
instance in the environment and gets the seed.
Constructs a new TestRandom
with the specified initial state. This can be
useful for providing the required environment to an effect that requires a
Random
, such as with ZIO#provide
.
Constructs a new TestRandom
with the specified initial state. This can be
useful for providing the required environment to an effect that requires a
Random
, such as with ZIO#provide
.
Constructs a new Test
object that implements the TestRandom
interface.
This can be useful for mixing in with implementations of other interfaces.
Constructs a new Test
object that implements the TestRandom
interface.
This can be useful for mixing in with implementations of other interfaces.
Accesses a TestRandom
instance in the environment and saves the random
state in an effect which, when run, will restore the TestRandom
to the
saved state.
Accesses a TestRandom
instance in the environment and saves the random
state in an effect which, when run, will restore the TestRandom
to the
saved state.