|
|||||||||||
| 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.SyntheticIterator
org.datamixer.collections.IntsIterator
Iterate through integers starting at first_, generating by increment_, until the current value is greater than or equal to last_.
| Field Summary | |
protected int |
current_
|
protected Ints |
ints_
|
protected int |
last_
|
| Fields inherited from class org.datamixer.collections.SyntheticIterator |
firstClosed_, lastClosed_, wasReset_ |
| 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 | |
IntsIterator()
|
|
| Method Summary | |
int |
currentInt()
Returns the current value. |
protected boolean |
doDone()
Returns false, always. |
protected void |
doGenerate()
Generate the next element in the collection. |
protected Value |
doGetCurrentValue()
Returns the current value. |
protected void |
doInitialize()
Initialization. |
protected void |
doReset()
Resets the iterator to an initial state. |
java.text.Format |
getFormat(java.lang.String pattern)
Returns an appropriate Format object. |
| Methods inherited from class org.datamixer.collections.SyntheticIterator |
toString |
| Methods inherited from class org.datamixer.collections.DatamixerIterator |
addDatamixerListener, doFireDatamixerEvent, fireDatamixerEvent, generate, getCollection, getContainer, getCurrent, getCurrentValue, getDataType, getFormatPattern, getHasNext, getId, getListeners, getName, getNext, getNextValue, getPath, getRepeat, hasNext, initialize, next, remove, removeDatamixerListener, reset, setCollection, setContainer, setCurrentValue, setDataType, setFormatPattern, setId, setName, setRepeat, updateCurrentValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected Ints ints_
protected int current_
protected int last_
| Constructor Detail |
public IntsIterator()
| Method Detail |
protected Value doGetCurrentValue()
doGetCurrentValue in class DatamixerIteratorpublic java.text.Format getFormat(java.lang.String pattern)
getFormat in class DatamixerIterator
protected void doInitialize()
throws DatamixerException
doInitialize in class SyntheticIteratorDatamixerException
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 SyntheticIteratorDatamixerExceptionpublic int currentInt()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||