kotlin-stdlib / kotlin.random / asJavaRandom asJavaRandom JVM 1.3 fun Random.asJavaRandom(): Random Creates a java.util.Random instance that uses the specified Kotlin Random generator as a randomness source.