|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object rice.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 PARAMETERMethod Detail |
public boolean nextBoolean()
nextBoolean
in interface RandomSource
public void nextBytes(byte[] bytes)
nextBytes
in interface RandomSource
bytes
- DESCRIBE THE PARAMETERpublic double nextDouble()
nextDouble
in interface RandomSource
public float nextFloat()
nextFloat
in interface RandomSource
public double nextGaussian()
nextGaussian
in interface RandomSource
public int nextInt()
nextInt
in interface RandomSource
public int nextInt(int max)
nextInt
in interface RandomSource
max
- 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 |