Uses of Interface
java.util.random.RandomGenerator
Packages that use 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
Classes in java.security that implement RandomGeneratorModifier and TypeClassDescriptionclassThis class provides a cryptographically strong random number generator (RNG). -
Uses of RandomGenerator in java.util
Classes in java.util that implement RandomGeneratorModifier and TypeClassDescriptionclassAn instance of this class is used to generate a stream of pseudorandom numbers; its period is only 248.final classA generator of uniform pseudorandom values (with period 264) applicable for use in (among other contexts) isolated parallel computations that may generate subtasks.Methods in java.util with parameters of type RandomGeneratorModifier and TypeMethodDescriptionstatic RandomRandom.from(RandomGenerator generator) Returns an instance ofRandomthat delegates method calls to theRandomGeneratorargument.static voidCollections.shuffle(List<?> list, RandomGenerator rnd) Randomly permute the specified list using the specified source of randomness. -
Uses of RandomGenerator in java.util.concurrent
Classes in java.util.concurrent that implement RandomGeneratorModifier and TypeClassDescriptionfinal classA random number generator (with period 264) isolated to the current thread. -
Uses of RandomGenerator in java.util.random
Classes in java.util.random with type parameters of type RandomGeneratorModifier and TypeClassDescriptionfinal classRandomGeneratorFactory<T extends RandomGenerator>This is a factory class for generating multiple random number generators of a specific algorithm.Subinterfaces of RandomGenerator in java.util.randomModifier and TypeInterfaceDescriptionstatic interfaceThis 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 interfaceThis 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 interfaceThis 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 interfaceThis 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 interfaceTheRandomGenerator.StreamableGeneratorinterface augments theRandomGeneratorinterface to provide methods that return streams ofRandomGeneratorobjects.Methods in java.util.random with type parameters of type RandomGeneratorModifier and TypeMethodDescriptionstatic <T extends RandomGenerator>
RandomGeneratorFactory<T> Returns aRandomGeneratorFactorythat can produce instances ofRandomGeneratorthat utilize thenamealgorithm.Methods in java.util.random that return RandomGeneratorModifier and TypeMethodDescriptiondefault RandomGeneratorRandomGenerator.JumpableGenerator.copyAndJump()Copy this generator, jump this generator forward, then return the copy.static RandomGeneratorRandomGenerator.getDefault()Returns aRandomGeneratormeeting the minimal requirement of having an algorithm whose state bits are greater than or equal 64.static RandomGeneratorMethods in java.util.random that return types with arguments of type RandomGeneratorModifier and TypeMethodDescriptionstatic Stream<RandomGeneratorFactory<RandomGenerator>> RandomGeneratorFactory.all()Returns a non-empty stream of availableRandomGeneratorFactory(s).RandomGeneratorFactory.getDefault()Returns aRandomGeneratorFactorymeeting 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 theRandomGeneratorinterface.default Stream<RandomGenerator> RandomGenerator.JumpableGenerator.jumps(long streamSize) Returns a stream producing the givenstreamSizenumber of new pseudorandom number generators, each of which implements theRandomGeneratorinterface.default Stream<RandomGenerator> RandomGenerator.JumpableGenerator.rngs()Returns an effectively unlimited stream of new pseudorandom number generators, each of which implements theRandomGeneratorinterface.default Stream<RandomGenerator> RandomGenerator.JumpableGenerator.rngs(long streamSize) Returns a stream producing the givenstreamSizenumber of new pseudorandom number generators, each of which implements theRandomGeneratorinterface.default Stream<RandomGenerator> RandomGenerator.SplittableGenerator.rngs()Returns an effectively unlimited stream of new pseudorandom number generators, each of which implements theRandomGeneratorinterface.default Stream<RandomGenerator> RandomGenerator.SplittableGenerator.rngs(long streamSize) Returns a stream producing the givenstreamSizenumber of new pseudorandom number generators, each of which implements theRandomGeneratorinterface.RandomGenerator.StreamableGenerator.rngs()Returns an effectively unlimited stream of objects, each of which implements theRandomGeneratorinterface.default Stream<RandomGenerator> RandomGenerator.StreamableGenerator.rngs(long streamSize) Returns an effectively unlimited stream of objects, each of which implements theRandomGeneratorinterface.