java.util
Class Random

java.lang.Object
  |
  +--java.util.Random
All Implemented Interfaces:
java.io.Serializable

public synchronized class Random
extends Object
implements java.io.Serializable


Constructor Summary
Random()
           
Random(long)
           
 
Method Summary
protected  int next(int)
           
 boolean nextBoolean()
           
 void nextBytes(byte[])
           
 double nextDouble()
           
 float nextFloat()
           
 double nextGaussian()
           
 int nextInt()
           
 int nextInt(int)
           
 long nextLong()
           
 void setSeed(long)
           
 
Methods inherited from class java.lang.Object
equals, hashCode, toString
 

Constructor Detail

Random

public Random()

Random

public Random(long)
Method Detail

setSeed

public void setSeed(long)

next

protected int next(int)

nextBytes

public void nextBytes(byte[])

nextInt

public int nextInt()

nextInt

public int nextInt(int)

nextLong

public long nextLong()

nextBoolean

public boolean nextBoolean()

nextFloat

public float nextFloat()

nextDouble

public double nextDouble()

nextGaussian

public double nextGaussian()