class PseudoRandom : SeedRandom
PseudoRandom(seed: Long = System.nanoTime()) |
var seed: Long |
fun next(): Int fun next(range: Int): Int fun next(range: IntRange): Int fun next(from: Int = 0, to: Int): Int |
|
fun nextBool(): Boolean |
|
fun nextFloat(): Float |
|
fun <T> pickNext(from: Array<T>): T fun <T> pickNext(from: List<T>): T |
const val MAX: Int |
|
const val SEED_DIVIDER: Int |
|
const val SEED_HIGH_MULTIPLY: Int |
|
const val SEED_LOW_MULTIPLY: Int |
infix fun <A : SeedRandom> A.alsoAddTo(pool: <ERROR CLASS><SeedRandom>): A |
|
infix fun <A> A.andRecycle(b: <ERROR CLASS>): <ERROR CLASS> infix fun <A> A.andRecycle(b: Recyclable): <ERROR CLASS> |
|
fun <T> T.loopAsLongNotNull(block: (it: T) -> T?): T |