Uses of Interface
java.util.random.RandomGenerator
Package
Description
Provides the classes and interfaces for the security framework.
Contains the collections framework, some internationalization support classes,
a service loader, properties, random number generation, string parsing
and scanning classes, base64 encoding and decoding, a bit array, and
several miscellaneous utility classes.
Utility classes commonly useful in concurrent programming.
This package contains classes and interfaces that support a generic API
for random number generation.
-
Uses of RandomGenerator in java.security
Modifier and TypeClassDescriptionclass
This class provides a cryptographically strong random number generator (RNG). -
Uses of RandomGenerator in java.util
Modifier and TypeClassDescriptionclass
An instance of this class is used to generate a stream of pseudorandom numbers; its period is only 248.final class
A generator of uniform pseudorandom values (with period 264) applicable for use in (among other contexts) isolated parallel computations that may generate subtasks.Modifier and TypeMethodDescriptionstatic Random
Random.from
(RandomGenerator generator) Returns an instance ofRandom
that delegates method calls to theRandomGenerator
argument. -
Uses of RandomGenerator in java.util.concurrent
Modifier and TypeClassDescriptionfinal class
A random number generator (with period 264) isolated to the current thread. -
Uses of RandomGenerator in java.util.random
Modifier and TypeClassDescriptionfinal class
RandomGeneratorFactory<T extends RandomGenerator>
This is a factory class for generating multiple random number generators of a specific algorithm.Modifier and TypeInterfaceDescriptionstatic interface
This interface is designed to provide a common protocol for objects that generate sequences of pseudorandom values and can easily jump forward, by an arbitrary amount, to a distant point in the state cycle.static interface
This interface is designed to provide a common protocol for objects that generate pseudorandom values and can easily jump forward, by a moderate amount (ex. 264) to a distant point in the state cycle.static interface
This interface is designed to provide a common protocol for objects that generate sequences of pseudorandom values and can easily not only jump but also leap forward, by a large amount (ex. 2128), to a very distant point in the state cycle.static interface
This interface is designed to provide a common protocol for objects that generate sequences of pseudorandom values and can be split into two objects (the original one and a new one) each of which obey that same protocol (and therefore can be recursively split indefinitely).static interface
TheRandomGenerator.StreamableGenerator
interface augments theRandomGenerator
interface to provide methods that return streams ofRandomGenerator
objects.Modifier and TypeMethodDescriptionstatic <T extends RandomGenerator>
RandomGeneratorFactory<T>Returns aRandomGeneratorFactory
that can produce instances ofRandomGenerator
that utilize thename
algorithm.Modifier and TypeMethodDescriptiondefault RandomGenerator
RandomGenerator.JumpableGenerator.copyAndJump()
Copy this generator, jump this generator forward, then return the copy.static RandomGenerator
RandomGenerator.getDefault()
Returns aRandomGenerator
meeting the minimal requirement of having an algorithm whose state bits are greater than or equal 64.static RandomGenerator
Modifier and TypeMethodDescriptionstatic Stream<RandomGeneratorFactory<RandomGenerator>>
RandomGeneratorFactory.all()
Returns a non-empty stream of availableRandomGeneratorFactory(s)
.RandomGeneratorFactory.getDefault()
Returns aRandomGeneratorFactory
meeting the minimal requirement of having an algorithm whose state bits are greater than or equal 64.default Stream<RandomGenerator>
RandomGenerator.JumpableGenerator.jumps()
Returns an effectively unlimited stream of new pseudorandom number generators, each of which implements theRandomGenerator
interface.default Stream<RandomGenerator>
RandomGenerator.JumpableGenerator.jumps
(long streamSize) Returns a stream producing the givenstreamSize
number of new pseudorandom number generators, each of which implements theRandomGenerator
interface.default Stream<RandomGenerator>
RandomGenerator.JumpableGenerator.rngs()
Returns an effectively unlimited stream of new pseudorandom number generators, each of which implements theRandomGenerator
interface.default Stream<RandomGenerator>
RandomGenerator.JumpableGenerator.rngs
(long streamSize) Returns a stream producing the givenstreamSize
number of new pseudorandom number generators, each of which implements theRandomGenerator
interface.default Stream<RandomGenerator>
RandomGenerator.SplittableGenerator.rngs()
Returns an effectively unlimited stream of new pseudorandom number generators, each of which implements theRandomGenerator
interface.default Stream<RandomGenerator>
RandomGenerator.SplittableGenerator.rngs
(long streamSize) Returns a stream producing the givenstreamSize
number of new pseudorandom number generators, each of which implements theRandomGenerator
interface.RandomGenerator.StreamableGenerator.rngs()
Returns an effectively unlimited stream of objects, each of which implements theRandomGenerator
interface.default Stream<RandomGenerator>
RandomGenerator.StreamableGenerator.rngs
(long streamSize) Returns an effectively unlimited stream of objects, each of which implements theRandomGenerator
interface.