rice.environment.random
Interface RandomSource
- All Known Implementing Classes:
- SimpleRandomSource
public interface RandomSource
Provides a virtualized random interface for FreePastry.
Usually acquired by calling environment.getRandomSource().
- Author:
- Jeff Hoye
nextBoolean
boolean nextBoolean()
nextBytes
void nextBytes(byte[] bytes)
nextDouble
double nextDouble()
nextFloat
float nextFloat()
nextGaussian
double nextGaussian()
nextInt
int nextInt()
nextInt
int nextInt(int max)
nextLong
long nextLong()
Copyright © 2001-2005 - Rice Pastry.