Uses of Interface
java.util.random.RandomGenerator.ArbitrarilyJumpableGenerator
Package
Description
This package contains classes and interfaces that support a generic API
for random number generation.
-
Uses of RandomGenerator.ArbitrarilyJumpableGenerator in java.util.random
Modifier and TypeMethodDescriptionRandomGenerator.ArbitrarilyJumpableGenerator.copy()
Returns a new generator whose internal state is an exact copy of this generator (therefore their future behavior should be identical if subjected to the same series of operations).RandomGenerator.ArbitrarilyJumpableGenerator.copyAndJump
(double distance) Copy this generator, jump this generator forward, then return the copy.Returns an instance ofRandomGenerator.ArbitrarilyJumpableGenerator
that utilizes thename
algorithm.Modifier and TypeMethodDescriptionRandomGenerator.ArbitrarilyJumpableGenerator.jumps
(double distance) Returns an effectively unlimited stream of new pseudorandom number generators, each of which implements theRandomGenerator.ArbitrarilyJumpableGenerator
interface, produced by jumping copies of this generator by different integer multiples of the specified jump distance.RandomGenerator.ArbitrarilyJumpableGenerator.jumps
(long streamSize, double distance) Returns a stream producing the givenstreamSize
number of new pseudorandom number generators, each of which implements theRandomGenerator.ArbitrarilyJumpableGenerator
interface, produced by jumping copies of this generator by different integer multiples of the specified jump distance.