Package net.storm.api.commons
Class IntRandomNumberGenerator
- java.lang.Object
-
- net.storm.api.commons.IntRandomNumberGenerator
-
public final class IntRandomNumberGenerator extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description IntRandomNumberGenerator(int min, int max)
Initialize a new random number generator that generates random numbers in the range [min, max]
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
nextInt()
Returns a random number in the range (min, max)
-