public final class RandomInts extends Object
| Constructor and Description |
|---|
RandomInts() |
| Modifier and Type | Method and Description |
|---|---|
static int |
randomInt(Random r,
int max)
A random integer between 0 and
max (inclusive). |
static int |
randomIntBetween(Random r,
int min,
int max)
A random integer from
min to max (inclusive). |
Copyright © 2011-2013 Carrot Search s.c.. All Rights Reserved.