java.util
Class Random
java.lang.Object
java.util.Random
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- SecureRandom
- public class Random
- extends Object
- implements Serializable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
haveNextNextGaussian
private boolean haveNextNextGaussian
serialVersionUID
static final long serialVersionUID
addend
private static final long addend
serialPersistentFields
private static final ObjectStreamField[] serialPersistentFields
seed
private sun.misc.AtomicLong seed
nextNextGaussian
private double nextNextGaussian
BYTES_PER_INT
private static final int BYTES_PER_INT
multiplier
private static final long multiplier
BITS_PER_BYTE
private static final int BITS_PER_BYTE
mask
private static final long mask
Random
public Random()
Random
public Random(long)
nextDouble
public double nextDouble()
nextGaussian
public double nextGaussian()
nextFloat
public float nextFloat()
nextInt
public int nextInt()
nextLong
public long nextLong()
nextBoolean
public boolean nextBoolean()
next
protected int next(int)
nextInt
public int nextInt(int)
setSeed
public void setSeed(long)
nextBytes
public void nextBytes(byte[])
readObject
private void readObject(ObjectInputStream)
throws IOException,
ClassNotFoundException
- Throws:
IOException
ClassNotFoundException
writeObject
private void writeObject(ObjectOutputStream)
throws IOException
- Throws:
IOException
JML is Copyright (C) 1998-2002 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This release depends on code from the MultiJava project and is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.