math
Class Random
java.lang.Object
   math.Random
math.Random
- public class Random 
- extends java.lang.Object
Copyright DocJava, inc. User: lyon
 
 Date: Dec 24, 2004
 
 Time: 6:25:08 PM
 
 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
Random
public Random()
getRandom
public static int getRandom()
- 
 
lcg
public static int lcg(int seed)
- 
 
lcgTest
public static void lcgTest()
- 
 
hashCodeTest
public static void hashCodeTest()
- 
 
jceKeyTest
public static void jceKeyTest()
                       throws java.security.NoSuchAlgorithmException
- 
- Throws:
- java.security.NoSuchAlgorithmException
 
jceRandomNumberTest
public static void jceRandomNumberTest()
- 
 
main
public static void main(java.lang.String[] args)
- 
 
randTest
public static void randTest()
- 
 
rand
public static int rand(int min,
                       int max)
- Compute a random integer
 
- 
- Parameters:
- min- minimum int
- max- maximum int
- Returns:
- random int between minandmaxinclusive.
 
getRandomColor
public static java.awt.Color getRandomColor()
-