W3cubDocs

/Kotlin

asJavaRandom

Platform and version requirements: JVM (1.3)
fun Random.asJavaRandom(): Random

Creates a java.util.Random instance that uses the specified Kotlin Random generator as a randomness source.

© 2010–2019 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.random/as-java-random.html