|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--corejava.RandomIntGenerator
| Constructor Summary | |
RandomIntGenerator(int l,
int h)
Constructs the class that encapsulates the random integer |
|
| Method Summary | |
int |
draw()
Used to return a random integer in the range constructed |
static void |
main(java.lang.String[] args)
test stub for the class |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RandomIntGenerator(int l,
int h)
l - the lowest integer in the rangeh - the highest integer in the range| Method Detail |
public int draw()
public static void main(java.lang.String[] args)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||