|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbcds.tools.random.RndGenBase
public class RndGenBase
Base class for RndGen. By default, the randomness source an instance of Java.util.Random.
| Constructor Summary | |
|---|---|
RndGenBase()
Default constructor that instantiates a java.util.Random as its source of random numbers. |
|
RndGenBase(java.util.Random rnd)
Constructor that uses rnd as the randomness source. |
|
| Method Summary | |
|---|---|
java.util.Random |
getRandomGen()
Returns the current randomness source. |
void |
setRandomGen(java.util.Random rnd)
Sets the the randomness source for this object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RndGenBase()
public RndGenBase(java.util.Random rnd)
rnd as the randomness source.
| Method Detail |
|---|
public void setRandomGen(java.util.Random rnd)
public java.util.Random getRandomGen()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||