public class FloatChoiceFromList extends NumberChoiceFromList<Float> implements FloatChoiceGenerator
count, values
Modifier | Constructor and Description |
---|---|
|
FloatChoiceFromList(Config conf,
String id) |
protected |
FloatChoiceFromList(String id)
super constructor for subclasses that want to configure themselves
|
|
FloatChoiceFromList(String id,
float... val) |
protected |
FloatChoiceFromList(String id,
Float[] vals) |
Modifier and Type | Method and Description |
---|---|
protected Float[] |
createValueArray(int len) |
Class<Float> |
getChoiceType() |
protected Float |
getDefaultValue() |
protected Float |
newValue(Number num,
int sign) |
protected Float |
parseLiteral(String literal,
int sign) |
advance, getNextChoice, getProcessedNumberOfChoices, getTotalNumberOfChoices, getValueLabel, hasMoreChoices, parse, randomize, reorder, reset, supportsReordering, toString
addAttr, 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, useRandomization
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addAttr, 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, supportsReordering
protected FloatChoiceFromList(String id)
id
- name used in choice configpublic FloatChoiceFromList(String id, float... val)
protected Float[] createValueArray(int len)
createValueArray
in class NumberChoiceFromList<Float>
protected Float getDefaultValue()
getDefaultValue
in class NumberChoiceFromList<Float>
public Class<Float> getChoiceType()
getChoiceType
in interface ChoiceGenerator<Float>
protected Float parseLiteral(String literal, int sign)
parseLiteral
in class NumberChoiceFromList<Float>
protected Float newValue(Number num, int sign)
newValue
in class NumberChoiceFromList<Float>