|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.datamixer.collections.DatamixerIterator
org.datamixer.containers.CollectionContainerIterator
org.datamixer.containers.CounterIterator
A CounterIterator generates its iterators in sequence. The first iterator is
at index 0. Each time an iterator at index i is done, the next
iterator (at index i+1) is generated. The CounterIterator is
done when all its nested iterators are done.
CollectionContainerIterator.
| Field Summary |
| Fields inherited from class org.datamixer.containers.CollectionContainerIterator |
ALL_DONE, ALL_DONE_STRING, ANY_DONE, ANY_DONE_STRING, current_, dataType_, dataTypeSet_, DONE_UNDEFINED, DONE_UNDEFINED_STRING, donePolicy_, elements_, iterators_, repeatAll_ |
| Fields inherited from class org.datamixer.collections.DatamixerIterator |
collection_, debugEnabled_, done_, doneChecked_, doneListeners_, format_, formatPattern_, id_, infoEnabled_, initialized_, logger_, name_, nextListeners_, path_, repeat_, repeatSet_ |
| Constructor Summary | |
CounterIterator()
|
|
| Method Summary | |
protected void |
doContainerGenerate(ValueList result)
Generate the next element in the collection. |
protected void |
doInitialize()
Initialization. |
protected void |
doReset()
Resets the iterator to an initial state. |
| Methods inherited from class org.datamixer.containers.CollectionContainerIterator |
addElement, addElement, allDone, anyDone, checkCompatibility, dataTypeWeight, doDone, doGenerate, doGetCurrentValue, findDataType, getDataType, getDonePolicy, getDonePolicyString, getDonePolicyString, getElement, getElements, getFormat, getIterator, getIterators, getRepeatAll, maxDataType, setDataType, setDonePolicy, setDonePolicyString, setRepeatAll |
| Methods inherited from class org.datamixer.collections.DatamixerIterator |
addDatamixerListener, doFireDatamixerEvent, fireDatamixerEvent, generate, getCollection, getContainer, getCurrent, getCurrentValue, getFormatPattern, getHasNext, getId, getListeners, getName, getNext, getNextValue, getPath, getRepeat, hasNext, initialize, next, remove, removeDatamixerListener, reset, setCollection, setContainer, setCurrentValue, setFormatPattern, setId, setName, setRepeat, toString, updateCurrentValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public CounterIterator()
| Method Detail |
protected void doInitialize()
throws DatamixerException
doInitialize in class CollectionContainerIteratorDatamixerException
protected void doContainerGenerate(ValueList result)
throws DatamixerException
doContainerGenerate in class CollectionContainerIteratorDatamixerException
protected void doReset()
throws DatamixerException
doReset in class CollectionContainerIteratorDatamixerException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||