java.util
Class Random

java.lang.Object
  extended byjava.util.Random

public class Random
extends Object

Pseudo-random number generation.


Constructor Summary
Random(long seed)
           
 
Method Summary
 int nextInt()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait
 

Constructor Detail

Random

public Random(long seed)
Method Detail

nextInt

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