//core/io.github.serpro69.kfaker/IRandom/nextInt
nextInt¶
[jvm]\ abstract fun nextInt(): Int
Returns the next pseudorandom, uniformly distributed Int value from this random number generator's sequence.
[jvm]\ abstract fun nextInt(bound: Int): Int
Returns a pseudorandom, uniformly distributed Int value between 0
(inclusive) and the specified bound (exclusive), drawn from this random number generator's sequence.
[jvm]\ abstract fun nextInt(intRange: IntRange): Int
Returns a pseudorandom, uniformly distributed Int value within the specified int range (inclusive), drawn from this random number generator's sequence.
[jvm]\ abstract fun nextInt(min: Int, max: Int): Int
Returns a pseudorandom, uniformly distributed Int value between min (inclusive) and max (inclusive), drawn from this random number generator's sequence.