public class RandomUtil
extends java.lang.Object
| Constructor and Description |
|---|
RandomUtil() |
| Modifier and Type | Method and Description |
|---|---|
static long |
getRandomLong()
Returns the next random long.
|
static double |
nextDouble()
Returns the next random double between 0 and 1
|
static int |
nextInt(int n)
Returns the next random int.
|
static void |
setTestSeed(long seed)
Sets the specific seed.
|
public static long getRandomLong()
public static int nextInt(int n)
public static double nextDouble()
public static void setTestSeed(long seed)