java.util
Class Random
java.lang.Object
java.util.Random
- All Implemented Interfaces:
- Serializable
- 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 |
unsafe
private static final sun.misc.Unsafe unsafe
seedUniquifier
private static volatile long seedUniquifier
haveNextNextGaussian
private boolean haveNextNextGaussian
nextNextGaussian
private double nextNextGaussian
seed
private final AtomicLong seed
seedOffset
private static final long seedOffset
mask
private static final long mask
addend
private static final long addend
serialPersistentFields
private static final ObjectStreamField[] serialPersistentFields
multiplier
private static final long multiplier
serialVersionUID
static final long serialVersionUID
Random
public Random()
Random
public Random(long)
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()
readObject
private void readObject(ObjectInputStream)
throws IOException,
ClassNotFoundException
- Throws:
IOException
ClassNotFoundException
writeObject
private void writeObject(ObjectOutputStream)
throws IOException
- Throws:
IOException
resetSeed
private void resetSeed(long)
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.