//core/io.github.serpro69.kfaker/IRandom/nextLong
nextLong¶
[jvm]\ abstract fun nextLong(): Long
Returns the next pseudorandom, uniformly distributed Long value from this random number generator's sequence.
[jvm]\ abstract fun nextLong(bound: Long): Long
Returns a pseudorandom, uniformly distributed Long value between 0
(inclusive), and the specified bound value (exclusive), drawn from this random number generator's sequence.
Throws¶
IllegalArgumentException | if bound < 0 |
[jvm]\ abstract fun nextLong(longRange: LongRange): Long
Returns a pseudorandom, uniformly distributed Long value within the specified longRange (inclusive), drawn from this random number generator's sequence.
[jvm]\ abstract fun nextLong(min: Long, max: Long): Long
Returns a pseudorandom, uniformly distributed Long value between min (inclusive) and max (inclusive), drawn from this random number generator's sequence.