|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectobjectdraw.RandomDoubleGenerator
public class 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. |
String |
toString()
produce String description of this random number generator |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, 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 String toString()
toString
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |