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