|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--fsmvis.utils.Utils
Constructor Summary | |
Utils()
|
Method Summary | |
static java.util.ArrayList |
createRandomSample(java.util.HashSet include,
java.util.HashSet exclude,
int max,
int size)
Creates a random List of integers, all different, with maximum value max and with size elements, with no elements from exclude, and only elements from include. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public Utils()
Method Detail |
public static java.util.ArrayList createRandomSample(java.util.HashSet include, java.util.HashSet exclude, int max, int size)
include
- Values that should be in the random sampleexclude
- Values that should not be in the random samplesize
- The number of elementsmax
- The maximum value for a random number
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |