java.util
Class Random

java.lang.Object
  |
  +--java.util.Random

public class Random
extends Object

Pseudo-random number generation.


Constructor Summary
Random(int seed)
           
 
Method Summary
 int nextInt()
           
 
Methods inherited from class java.lang.Object
getClass, toString
 

Constructor Detail

Random

public Random(int seed)
Method Detail

nextInt

public int nextInt()
Returns:
A random positive or negative integer.