public class RandomValue extends Value
Value.ValueSource| Modifier and Type | Field and Description |
|---|---|
protected java.util.Random |
random |
asciionly, HOSTNSEG, MAXOPAQUESIZE, MAXSEGSIZE, MAXSTRINGSIZE, PATHNSEG| Constructor and Description |
|---|
RandomValue() |
| Modifier and Type | Method and Description |
|---|---|
int |
nextCount(int max)
Return an integer in range 1..max inclusive.
|
java.lang.Object |
nextFloat(dap4.core.dmr.DapType basetype) |
java.lang.Object |
nextInteger(dap4.core.dmr.DapType basetype) |
java.lang.Object |
nextValue(dap4.core.dmr.DapType basetype) |
Value.ValueSource |
source() |
public Value.ValueSource source()
public java.lang.Object nextValue(dap4.core.dmr.DapType basetype)
throws dap4.core.util.DapException
public java.lang.Object nextInteger(dap4.core.dmr.DapType basetype)
throws dap4.core.util.DapException
dap4.core.util.DapExceptionpublic java.lang.Object nextFloat(dap4.core.dmr.DapType basetype)
throws dap4.core.util.DapException
dap4.core.util.DapException