public class DoubleChoiceFromList extends NumberChoiceFromList<Double> implements DoubleChoiceGenerator
count, values| Modifier | Constructor and Description |
|---|---|
|
DoubleChoiceFromList(Config conf,
String id) |
protected |
DoubleChoiceFromList(String id)
super constructor for subclasses that want to configure themselves
|
|
DoubleChoiceFromList(String id,
double... val) |
protected |
DoubleChoiceFromList(String id,
Double[] vals) |
| Modifier and Type | Method and Description |
|---|---|
protected Double[] |
createValueArray(int len) |
Class<Double> |
getChoiceType() |
protected Double |
getDefaultValue() |
protected Double |
newValue(Number num,
int sign) |
protected Double |
parseLiteral(String literal,
int sign) |
advance, getNextChoice, getProcessedNumberOfChoices, getTotalNumberOfChoices, getValueLabel, hasMoreChoices, parse, randomize, reorder, reset, supportsReordering, toStringaddAttr, advance, attrIterator, attrIterator, clone, deepClone, getAll, getAllOfType, getAttr, getAttr, getCascade, getCascadedParent, getId, getIdRef, getInsn, getNextAttr, getPreviousChoiceGenerator, getPreviousChoiceGeneratorOfType, getSourceLocation, getThreadInfo, hasAttr, hasAttr, hasAttrValue, init, isCascaded, isDone, isProcessed, isSchedulingPoint, removeAttr, replaceAttr, select, setAttr, setCascaded, setContext, setDone, setId, setIdRef, setInsn, setPreviousChoiceGenerator, setThreadInfo, useRandomizationequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddAttr, advance, advance, attrIterator, attrIterator, clone, deepClone, getAll, getAllOfType, getAttr, getAttr, getCascade, getCascadedParent, getId, getIdRef, getInsn, getNextAttr, getNextChoice, getPreviousChoiceGenerator, getPreviousChoiceGeneratorOfType, getProcessedNumberOfChoices, getSourceLocation, getThreadInfo, getTotalNumberOfChoices, hasAttr, hasAttr, hasMoreChoices, isCascaded, isDone, isProcessed, isSchedulingPoint, randomize, removeAttr, reorder, replaceAttr, reset, select, setAttr, setCascaded, setContext, setDone, setId, setIdRef, setInsn, setPreviousChoiceGenerator, setThreadInfo, supportsReorderingprotected DoubleChoiceFromList(String id)
id - name used in choice configpublic DoubleChoiceFromList(String id, double... val)
protected Double[] createValueArray(int len)
createValueArray in class NumberChoiceFromList<Double>protected Double getDefaultValue()
getDefaultValue in class NumberChoiceFromList<Double>public Class<Double> getChoiceType()
getChoiceType in interface ChoiceGenerator<Double>protected Double parseLiteral(String literal, int sign)
parseLiteral in class NumberChoiceFromList<Double>protected Double newValue(Number num, int sign)
newValue in class NumberChoiceFromList<Double>