public class RandomOrderLongCG extends ChoiceGeneratorBase<Long> implements LongChoiceGenerator
| Modifier and Type | Field and Description | 
|---|---|
| protected long[] | choices | 
| protected int | nextIdx | 
| Constructor and Description | 
|---|
| RandomOrderLongCG(LongChoiceGenerator sub) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | advance()advance to the next choice. | 
| Class<Long> | getChoiceType() | 
| Long | getNextChoice() | 
| int | getProcessedNumberOfChoices() | 
| int | getTotalNumberOfChoices() | 
| boolean | hasMoreChoices() | 
| void | reset()this has to reset the CG to its initial state, which includes resetting
 'isDone' | 
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, randomize, removeAttr, reorder, replaceAttr, select, setAttr, setCascaded, setContext, setDone, setId, setIdRef, setInsn, setPreviousChoiceGenerator, setThreadInfo, supportsReordering, toString, useRandomizationequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddAttr, advance, attrIterator, attrIterator, clone, deepClone, getAll, getAllOfType, getAttr, getAttr, getCascade, getCascadedParent, getId, getIdRef, getInsn, getNextAttr, getPreviousChoiceGenerator, getPreviousChoiceGeneratorOfType, getSourceLocation, getThreadInfo, hasAttr, hasAttr, isCascaded, isDone, isProcessed, isSchedulingPoint, randomize, removeAttr, reorder, replaceAttr, select, setAttr, setCascaded, setContext, setDone, setId, setIdRef, setInsn, setPreviousChoiceGenerator, setThreadInfo, supportsReorderingpublic RandomOrderLongCG(LongChoiceGenerator sub)
public Long getNextChoice()
getNextChoice in interface ChoiceGenerator<Long>public void advance()
ChoiceGeneratoradvance in interface ChoiceGenerator<Long>public int getProcessedNumberOfChoices()
getProcessedNumberOfChoices in interface ChoiceGenerator<Long>public int getTotalNumberOfChoices()
getTotalNumberOfChoices in interface ChoiceGenerator<Long>public boolean hasMoreChoices()
hasMoreChoices in interface ChoiceGenerator<Long>public void reset()
ChoiceGeneratorreset in interface ChoiceGenerator<Long>public Class<Long> getChoiceType()
getChoiceType in interface ChoiceGenerator<Long>