fr.jussieu.gla.wasa.core.junit
Class DeterministicRandom
java.lang.Object
|
+--java.util.Random
|
+--fr.jussieu.gla.wasa.core.junit.DeterministicRandom
- All Implemented Interfaces:
- java.io.Serializable
- public class DeterministicRandom
- extends java.util.Random
Instrumented random for the tests.
- Version:
- $Revision: 1.1 $ $Date: 2002/04/10 17:24:01 $
- Author:
- Florent Selva
- See Also:
- Serialized Form
Methods inherited from class java.util.Random |
next, nextGaussian, setSeed |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeterministicRandom
public DeterministicRandom(java.lang.Number[] numbers)
hasNext
public boolean hasNext()
nextBytes
public void nextBytes(byte[] bytes)
- Overrides:
nextBytes
in class java.util.Random
nextInt
public int nextInt()
- Overrides:
nextInt
in class java.util.Random
nextInt
public int nextInt(int n)
- Overrides:
nextInt
in class java.util.Random
nextLong
public long nextLong()
- Overrides:
nextLong
in class java.util.Random
nextBoolean
public boolean nextBoolean()
- Overrides:
nextBoolean
in class java.util.Random
nextFloat
public float nextFloat()
- Overrides:
nextFloat
in class java.util.Random
nextDouble
public double nextDouble()
- Overrides:
nextDouble
in class java.util.Random