|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectptolemy.backtrack.util.FieldRecord.IndividualIterator
public class FieldRecord.IndividualIterator
Iterator of the records for the given dimension.
FieldRecord.iterator(int)
Red (tfeng) |
Red (tfeng) |
Field Summary | |
---|---|
private FieldRecord.RecordList |
_currentList
The current record for that dimension. |
private int |
_index
The index. |
private FieldRecord.RecordList |
_lastRecord
The last record returned by next() . |
Constructor Summary | |
---|---|
FieldRecord.IndividualIterator(int index)
Construct an iterator for the given index of dimensions. |
Method Summary | |
---|---|
boolean |
hasNext()
Test if there are more elements. |
java.lang.Object |
next()
Return the next element. |
void |
remove()
Remove the last element returned by next() . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private FieldRecord.RecordList _currentList
private int _index
private FieldRecord.RecordList _lastRecord
next()
.
Constructor Detail |
---|
FieldRecord.IndividualIterator(int index)
index
- The index.FieldRecord.iterator(int)
Method Detail |
---|
public boolean hasNext()
hasNext
in interface java.util.Iterator
public java.lang.Object next()
next
in interface java.util.Iterator
public void remove()
next()
.
This function must be called after next()
.
remove
in interface java.util.Iterator
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |