Stay organized with collections
Save and categorize content based on your preferences.
java.util.random
Interfaces
RandomGenerator |
The RandomGenerator interface is designed to provide a common protocol for objects that generate random or (more typically) pseudorandom sequences of numbers (or Boolean values).
|
Classes
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# java.util.random\n================\n\nInterfaces\n----------\n\n|-----------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [RandomGenerator](/reference/kotlin/java/util/random/RandomGenerator) | The [RandomGenerator](/reference/kotlin/java/util/random/RandomGenerator) interface is designed to provide a common protocol for objects that generate random or (more typically) pseudorandom sequences of numbers (or Boolean values). |\n\nClasses\n-------\n\n|-------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------|\n| [RandomGeneratorFactory](/reference/kotlin/java/util/random/RandomGeneratorFactory) | This is a factory class for generating multiple random number generators of a specific [algorithm](#algorithms). |"]]