public class Rand
extends java.lang.Object
Constructor and Description |
---|
Rand() |
Modifier and Type | Method and Description |
---|---|
static int |
getInteger(int uLow,
int uHigh)
Returns a random long between [uLow,uHigh]
|
static double |
getReal()
Returns a random real between [0,1)
|
static void |
initRand()
Generates a new instance of Random
|
public static void initRand()
public static double getReal()
public static int getInteger(int uLow, int uHigh)
uLow
- low number of the interval.uHigh
- high number of the interval.