Class RandomNumberGenerator

java.lang.Object
RandomNumberGenerator
All Implemented Interfaces:
NumberGenerator

public class RandomNumberGenerator
extends java.lang.Object
implements NumberGenerator
Produces random numbers using Java's Random class
  • Constructor Summary

    Constructors 
    Constructor Description
    RandomNumberGenerator()  
    RandomNumberGenerator​(long seed)  
  • Method Summary

    Modifier and Type Method Description
    int next​(int bound)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait