All Packages Class Hierarchy This Package Previous Next Index
Class corejava.RandomIntGenerator
java.lang.Object
|
+----corejava.RandomIntGenerator
- public class RandomIntGenerator
- extends Object
-
RandomIntGenerator(int, int)
- Constructs the class that encapsulates the random integer
-
draw()
-
Used to return a random integer in the range constructed
-
main(String[])
- test stub for the class
RandomIntGenerator
public RandomIntGenerator(int l,
int h)
- Constructs the class that encapsulates the random integer
- Parameters:
- l - the lowest integer in the range
- h - the highest integer in the range
draw
public int draw()
- Used to return a random integer in the range constructed
main
public static void main(String args[])
- test stub for the class
All Packages Class Hierarchy This Package Previous Next Index