Random Generator
interface RandomGenerator
Content copied to clipboard
An interface that is implemented by random number generator algorithms.
Types
Functions
fork
Link copied to clipboard
nextBoolean
Link copied to clipboard
nextDouble
Link copied to clipboard
nextInt
Link copied to clipboard
nextLong
Link copied to clipboard
Inheritors
Extensions
asUniformRandomProvider
Link copied to clipboard
Represent this RandomGenerator as commons-rng UniformRandomProvider preserving and mirroring its current state.
chain
Link copied to clipboard
fun <R> RandomGenerator.chain(gen: suspend RandomGenerator.() -> R): RandomChain<R>
Content copied to clipboard