public class RandomValue extends Value
Value.ValueSource| Modifier and Type | Field and Description |
|---|---|
protected boolean |
asciionly |
protected Random |
random |
HOSTNSEG, MAXOPAQUESIZE, MAXSEGSIZE, MAXSTRINGSIZE, PATHNSEG| Constructor and Description |
|---|
RandomValue() |
protected Random random
protected boolean asciionly
public Value.ValueSource source()
public Object nextValue(DapType basetype) throws DapException
nextValue in class ValueDapExceptionpublic Object nextInteger(DapType basetype) throws DapException
DapExceptionpublic Object nextFloat(DapType basetype) throws DapException
DapExceptionpublic int nextCount(int max)
throws DapException
nextCount in class Valuemax - DapExceptionCopyright © 1999–2014 UCAR/Unidata. All rights reserved.