public class RandomValue extends Value
Value.ValueSource| Modifier and Type | Field and Description |
|---|---|
protected Random |
random |
asciionly, HOSTNSEG, MAXOPAQUESIZE, MAXSEGSIZE, MAXSTRINGSIZE, PATHNSEG| Constructor and Description |
|---|
RandomValue() |
protected Random random
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-2015 UCAR/Unidata. All Rights Reserved.