public class XegerUtils
extends java.lang.Object
| Constructor and Description |
|---|
XegerUtils() |
| Modifier and Type | Method and Description |
|---|---|
static int |
getRandomInt(int min,
int max,
java.util.Random random)
Generates a random number within the given bounds.
|
public static final int getRandomInt(int min,
int max,
java.util.Random random)
min - The minimum number (inclusive).max - The maximum number (inclusive).random - The object used as the randomizer.