|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvisidia.misc.SynchronizedRandom
public class SynchronizedRandom
SynchronizedRandom is a generator of pseudorandom numbers in a distributed context with concurrent calls. This generator is a singleton (unique instance).
Constructor Summary | |
---|---|
SynchronizedRandom()
|
Method Summary | |
---|---|
static float |
nextFloat()
Generates an float value. |
static int |
nextInt()
Generates an integer value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SynchronizedRandom()
Method Detail |
---|
public static int nextInt()
public static float nextFloat()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |