public class RandomInputStream extends MockInputStream
closed| Constructor and Description |
|---|
RandomInputStream()
Produces an immense amount of randomness
|
RandomInputStream(int l)
This input stream produces a given number of random number.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
fillArray(byte[] data,
int offset,
int l) |
protected int |
oneByte() |
mark, markSupported, read, resetpublic RandomInputStream(int l)
l - How long this input stream will bepublic RandomInputStream()
protected int oneByte()
oneByte in class MockInputStreamprotected void fillArray(byte[] data,
int offset,
int l)
fillArray in class MockInputStreamMMBase 1.9-SNAPSHOT - ${javadoctimestamp}