|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectobjectdraw.RandomDoubleGenerator
A generator that provides random double between two values upon demand.
Constructor Summary | |
RandomDoubleGenerator(double min,
double max)
Constructs a new RandomDoubleGenerator that can generate values v such that min <= v < max. |
Method Summary | |
double |
nextValue()
Retrieves a new double value from the generator. |
java.lang.String |
toString()
produce String description of this random number generator |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public RandomDoubleGenerator(double min, double max)
min
- the minimum valuemax
- the maximum valueMethod Detail |
public double nextValue()
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |