public class Random extends Object implements Serializable { // Public Constructors public Random( ); public Random(long seed); // Public Instance Methods public void nextBytes(byte[ ] bytes); public double nextDouble( ); public float nextFloat( ); public synchronized double nextGaussian( ); public int nextInt( ); public long nextLong( ); public synchronized void setSeed(long seed); // Protected Instance Methods protected synchronized int next(int bits); }