public abstract class CompoundChoiceGenerator<T> extends ChoiceGeneratorBase<T>
| Modifier and Type | Class and Description |
|---|---|
protected class |
CompoundChoiceGenerator.Entry |
| Modifier and Type | Field and Description |
|---|---|
protected CompoundChoiceGenerator.Entry |
base |
protected CompoundChoiceGenerator.Entry |
cur |
| Modifier | Constructor and Description |
|---|---|
protected |
CompoundChoiceGenerator(java.lang.String id) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
add(ChoiceGenerator<T> cg) |
void |
advance()
advance to the next choice.
|
T |
getNextChoice() |
int |
getProcessedNumberOfChoices() |
int |
getTotalNumberOfChoices() |
boolean |
hasMoreChoices() |
void |
reset()
this has to reset the CG to its initial state, which includes resetting
'isDone'
|
protected void |
setBase(ChoiceGenerator<T> cg) |
addAttr, advance, attrIterator, attrIterator, clone, deepClone, getAll, getAllChoices, getAllOfType, getAttr, getAttr, getCascade, getCascadedParent, getChoice, getId, getIdRef, getInsn, getNextAttr, getNumberOfParents, getPreviousChoiceGenerator, getPreviousChoiceGeneratorOfType, getProcessedChoices, getSourceLocation, getStateId, getThreadInfo, getUnprocessedChoices, hasAttr, hasAttr, hasAttrValue, init, isCascaded, isDone, isProcessed, isSchedulingPoint, randomize, removeAttr, reorder, replaceAttr, select, setAttr, setCascaded, setContext, setCurrent, setDone, setId, setIdRef, setInsn, setPreviousChoiceGenerator, setStateId, setThreadInfo, supportsReordering, toString, useRandomizationequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetChoiceTypeprotected CompoundChoiceGenerator.Entry base
protected CompoundChoiceGenerator.Entry cur
protected void setBase(ChoiceGenerator<T> cg)
protected void add(ChoiceGenerator<T> cg)
public T getNextChoice()
public boolean hasMoreChoices()
public void advance()
ChoiceGeneratorpublic void reset()
ChoiceGeneratorpublic int getTotalNumberOfChoices()
public int getProcessedNumberOfChoices()