-
Constructor Summary
Constructors
| Constructor |
Description |
MockRandom(int[] returnValue) |
|
-
Method Summary
| Modifier and Type |
Method |
Description |
protected int |
next(int arg0) |
|
int |
nextInt() |
|
int |
nextInt(int arg0) |
|
Methods inherited from class java.util.Random
doubles, doubles, doubles, doubles, ints, ints, ints, ints, longs, longs, longs, longs, nextBoolean, nextBytes, nextDouble, nextFloat, nextGaussian, nextLong, setSeed
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
MockRandom
public MockRandom(int[] returnValue)
-
Method Details
-
next
protected int next(int arg0)
- Overrides:
next in class Random
-
-
nextInt
public int nextInt(int arg0)
- Overrides:
nextInt in class Random