Interface RandomDistribution.DiscreteRNG

All Known Implementing Classes:
RandomDistribution.Binomial, RandomDistribution.Flat, RandomDistribution.Zipf
Enclosing class:
RandomDistribution

public static interface RandomDistribution.DiscreteRNG
Interface for discrete (integer) random distributions.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Get the next random number
  • Method Details

    • nextInt

      int nextInt()
      Get the next random number
      Returns:
      the next random number.