Package com.imsl.stat

Interface Random.BaseGenerator

All Known Implementing Classes:
MersenneTwister, MersenneTwister64
Enclosing class:
Random

public static interface Random.BaseGenerator
Base pseudorandom number.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    next(int bits)
    Generates the next pseudorandom number.
  • Method Details

    • next

      int next(int bits)
      Generates the next pseudorandom number.
      Parameters:
      bits - random bits
      Returns:
      the next pseudorandom value from this random number generator's sequence.