|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.datamixer.collections.DatamixerIterator
org.datamixer.collections.CollectionWrapperIterator
| Field Summary | |
protected java.lang.Object |
current_
the current value |
protected java.util.Iterator |
iterator_
the current iterator |
protected CollectionWrapper |
wrapper_
the associated collection wrapper |
| 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 | |
CollectionWrapperIterator()
|
|
| Method Summary | |
protected boolean |
doDone()
Returns false, always. |
protected void |
doGenerate()
Generate the next element in the collection. |
protected Value |
doGetCurrentValue()
Returns the last value returned by nextValue(). |
protected void |
doReset()
Resets the iterator to an initial state. |
java.util.Iterator |
getIterator()
|
void |
setCollection(CollectionWrapper collection)
Sets this iterator's collection. |
| Methods inherited from class org.datamixer.collections.DatamixerIterator |
addDatamixerListener, doFireDatamixerEvent, doInitialize, fireDatamixerEvent, generate, getCollection, getContainer, getCurrent, getCurrentValue, getDataType, getFormat, getFormatPattern, getHasNext, getId, getListeners, getName, getNext, getNextValue, getPath, getRepeat, hasNext, initialize, next, remove, removeDatamixerListener, reset, setCollection, setContainer, setCurrentValue, setDataType, setFormatPattern, setId, setName, setRepeat, toString, updateCurrentValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected CollectionWrapper wrapper_
protected java.util.Iterator iterator_
protected java.lang.Object current_
| Constructor Detail |
public CollectionWrapperIterator()
| Method Detail |
public void setCollection(CollectionWrapper collection)
collection - this iterator's collection.protected Value doGetCurrentValue()
doGetCurrentValue in class DatamixerIterator
protected boolean doDone()
throws DatamixerException
DatamixerIteratorfalse, always.
doDone in class DatamixerIteratorDatamixerException
protected void doGenerate()
throws DatamixerException
DatamixerIterator
doGenerate in class DatamixerIteratorDatamixerException
protected void doReset()
throws DatamixerException
doReset in class DatamixerIteratorDatamixerExceptionpublic java.util.Iterator getIterator()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||