|
Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectrice.environment.random.simple.SimpleRandomSource
| Constructor Summary | |
SimpleRandomSource()
Constructor for SimpleRandomSource. |
|
SimpleRandomSource(long seed)
Constructor for SimpleRandomSource. |
|
| Method Summary | |
boolean |
nextBoolean()
DESCRIBE THE METHOD |
void |
nextBytes(byte[] bytes)
DESCRIBE THE METHOD |
double |
nextDouble()
DESCRIBE THE METHOD |
float |
nextFloat()
DESCRIBE THE METHOD |
double |
nextGaussian()
DESCRIBE THE METHOD |
int |
nextInt()
DESCRIBE THE METHOD |
int |
nextInt(int max)
DESCRIBE THE METHOD |
long |
nextLong()
DESCRIBE THE METHOD |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SimpleRandomSource()
public SimpleRandomSource(long seed)
seed - DESCRIBE THE PARAMETER| Method Detail |
public boolean nextBoolean()
nextBoolean in interface RandomSourcepublic void nextBytes(byte[] bytes)
nextBytes in interface RandomSourcebytes - DESCRIBE THE PARAMETERpublic double nextDouble()
nextDouble in interface RandomSourcepublic float nextFloat()
nextFloat in interface RandomSourcepublic double nextGaussian()
nextGaussian in interface RandomSourcepublic int nextInt()
nextInt in interface RandomSourcepublic int nextInt(int max)
nextInt in interface RandomSourcemax - DESCRIBE THE PARAMETER
public long nextLong()
nextLong in interface RandomSource
|
Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||