zio
random
package
random
Linear Supertypes
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
random
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Type Members
type
Random
=
Has
[
Service
]
Value Members
object
Random
extends
Serializable
val
nextBoolean
:
ZIO
[
Random
,
Nothing
,
Boolean
]
def
nextBytes
(
length: ⇒
Int
)
:
ZIO
[
Random
,
Nothing
,
Chunk
[
Byte
]]
val
nextDouble
:
ZIO
[
Random
,
Nothing
,
Double
]
val
nextFloat
:
ZIO
[
Random
,
Nothing
,
Float
]
val
nextGaussian
:
ZIO
[
Random
,
Nothing
,
Double
]
def
nextInt
(
n: ⇒
Int
)
:
ZIO
[
Random
,
Nothing
,
Int
]
val
nextInt
:
ZIO
[
Random
,
Nothing
,
Int
]
def
nextLong
(
n: ⇒
Long
)
:
ZIO
[
Random
,
Nothing
,
Long
]
val
nextLong
:
ZIO
[
Random
,
Nothing
,
Long
]
val
nextPrintableChar
:
ZIO
[
Random
,
Nothing
,
Char
]
def
nextString
(
length: ⇒
Int
)
:
ZIO
[
Random
,
Nothing
,
String
]
def
shuffle
[
A
]
(
list: ⇒
List
[
A
]
)
:
ZIO
[
Random
,
Nothing
,
List
[
A
]]
Inherited from
AnyRef
Inherited from
Any
Ungrouped