Interface RandomGenerator

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int next()
      Returns the next random integer number.
      void seed​(int seed)
      Sets the seed of the random number generator.
    • Method Detail

      • seed

        void seed​(int seed)
        Sets the seed of the random number generator.
        Parameters:
        seed - the seed to be set.
      • next

        int next()
        Returns the next random integer number.
        Returns:
        the random int.