|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Randomized
The Randomized interface defines the functionality of an object
whose computations are based in part on an underlying random number
generator (a Random object). If an object implements this interface
it should not make use of Math.random().
| Method Summary | |
|---|---|
Random |
getRandom()
Gets the random number generator used by this object. |
void |
setRandom(Random random)
Sets the random number generator used by this object. |
| Method Detail |
|---|
Random getRandom()
void setRandom(Random random)
random - The random number generator for this object to use.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||