MiscJavaFuncs

open class MiscJavaFuncs

Constructors

Link copied to clipboard
constructor()

Companion functions

Link copied to clipboard
open fun random(upper: Int): Int
Returns a random int between 0 (inclusive) and upper (exclusive).
open fun random(upper: Long): Long
Returns a random long between 0 (inclusive) and upper (exclusive).
Link copied to clipboard
open fun sleepMillis(time: Long)
Link copied to clipboard
open fun sleepSecs(time: Long)