public class LongChoiceFromList extends NumberChoiceFromList<Long> implements LongChoiceGenerator
count, values| Modifier | Constructor and Description |
|---|---|
|
LongChoiceFromList(Config conf,
String id) |
protected |
LongChoiceFromList(String id)
super constructor for subclasses that want to configure themselves
|
|
LongChoiceFromList(String id,
long... val) |
protected |
LongChoiceFromList(String id,
Long[] vals) |
| Modifier and Type | Method and Description |
|---|---|
protected Long[] |
createValueArray(int len) |
Class<Long> |
getChoiceType() |
protected Long |
getDefaultValue() |
protected Long |
newValue(Number num,
int sign) |
protected Long |
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 LongChoiceFromList(String id)
id - name used in choice configpublic LongChoiceFromList(String id, long... val)
protected Long[] createValueArray(int len)
createValueArray in class NumberChoiceFromList<Long>protected Long getDefaultValue()
getDefaultValue in class NumberChoiceFromList<Long>public Class<Long> getChoiceType()
getChoiceType in interface ChoiceGenerator<Long>protected Long parseLiteral(String literal, int sign)
parseLiteral in class NumberChoiceFromList<Long>protected Long newValue(Number num, int sign)
newValue in class NumberChoiceFromList<Long>