|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnl.beesting.beangenerator.util.RandomUtil
public class RandomUtil
Constructor Summary | |
---|---|
RandomUtil()
|
Method Summary | |
---|---|
static boolean |
initRandomBoolean()
|
static char |
initRandomChar()
Instantiates random char |
static double |
initRandomDoubleBetween(double min,
double max)
Instantiates random double given min and max |
static int |
initRandomInt()
Method initRandomInt. |
static int |
initRandomIntBetween(int min,
int max)
Instantiates random long between given min and max |
static long |
initRandomLong()
Method initRandomLong. |
static long |
initRandomLongBetween(long min,
long max)
Instantiates random long between given min and max |
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RandomUtil()
Method Detail |
---|
public static long initRandomLongBetween(long min, long max)
min
- the minimal value (including)max
- the maximal value (excluding)
public static int initRandomIntBetween(int min, int max)
min
- the minimal valuemax
- the maximal value
public static double initRandomDoubleBetween(double min, double max)
min
- the minimal valuemax
- the maximal value
public static char initRandomChar()
public static int initRandomInt()
public static long initRandomLong()
public static boolean initRandomBoolean()
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |