public class T3Random
extends java.lang.Object
Constructor and Description |
---|
T3Random() |
Modifier and Type | Method and Description |
---|---|
static java.util.List<java.lang.Integer> |
getRandomIndices(int upperbound,
int N)
Produce a list of N random integers, each in the range [0..upperbound)
The method will try to make each integer in the resulting list to be
unique; but this is not guaranteed.
|
static java.util.Random |
getRnd() |
public static java.util.Random getRnd()
public static java.util.List<java.lang.Integer> getRandomIndices(int upperbound, int N)