|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.cafesoft.core.util.RandomNumberGenerator
public class RandomNumberGenerator
This class creates random numbers
This Singleton class initialize single random number generator with a random seed using the third party library infiniteMonkey.
| Method Summary | |
|---|---|
static RandomNumberGenerator |
getInstance()
Get the instance of the RandomNumberGenerator |
static void |
main(String[] args)
|
int |
nextInt()
Get the next random integer value from the RandomNumberGenerator |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static final RandomNumberGenerator getInstance()
public int nextInt()
public static void main(String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||