Uses of Interface java.util.random.RandomGenerator.JumpableGenerator (Java SE 23 & JDK 23)
Description: use: module: java.base, package: java.util.random, interface: RandomGenerator, interface: JumpableGenerator

# Uses of Interface
java.util.random.RandomGenerator.JumpableGenerator

Packages that use RandomGenerator.JumpableGenerator
Package
Description
java.util.random
This package contains classes and interfaces that support a generic API for random number generation.

- ## Uses of RandomGenerator.JumpableGenerator in java.util.random

  Subinterfaces of RandomGenerator.JumpableGenerator in java.util.random
  Modifier and Type
  Interface
  Description
  `static interface`
  `RandomGenerator.ArbitrarilyJumpableGenerator`
  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`
  `RandomGenerator.LeapableGenerator`
  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.
  Methods in java.util.random that return RandomGenerator.JumpableGenerator
  Modifier and Type
  Method
  Description
  `RandomGenerator.JumpableGenerator`
  RandomGenerator.JumpableGenerator.`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).
  `default RandomGenerator.JumpableGenerator`
  RandomGenerator.LeapableGenerator.`copyAndLeap()`
  Copy this generator, leap this generator forward, then return the copy.
  `static RandomGenerator.JumpableGenerator`
  RandomGenerator.JumpableGenerator.`of(String name)`
  Returns an instance of `RandomGenerator.JumpableGenerator` that utilizes the `name` algorithm.
  Methods in java.util.random that return types with arguments of type RandomGenerator.JumpableGenerator
  Modifier and Type
  Method
  Description
  `default Stream<RandomGenerator.JumpableGenerator>`
  RandomGenerator.LeapableGenerator.`leaps()`
  Returns an effectively unlimited stream of new pseudorandom number generators, each of which implements the `RandomGenerator.JumpableGenerator` interface.
  `default Stream<RandomGenerator.JumpableGenerator>`
  RandomGenerator.LeapableGenerator.`leaps(long streamSize)`
  Returns a stream producing the given `streamSize` number of new pseudorandom number generators, each of which implements the `RandomGenerator.JumpableGenerator` interface.