org.simulator.math
Class RNG
java.lang.Object
   org.simulator.math.RNG
org.simulator.math.RNG
- public class RNG 
- extends Object
A Random Number Generator.
- Since:
- 0.9
- Version:
- $Rev: 203 $
- Author:
- Marcel Kronfeld
| Constructor Summary | 
| RNG()
 | 
 
| Method Summary | 
| static int | randomInt(int low,
          int high)Generates a random integer between first and second input value.
 | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
RNG
public RNG()
randomInt
public static int randomInt(int low,
                            int high)
- Generates a random integer between first and second input value.
 
- 
- Parameters:
- low-
- high-
- Returns: