|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfovis.utils.AbstractRowIterator
infovis.utils.TableIterator
public class TableIterator
Iterator over table rows.
| Constructor Summary | |
|---|---|
TableIterator(int first,
int end)
Creates an iterator over a table given its first row, its end (1 + last). |
|
TableIterator(int first,
int end,
boolean up)
Creates an iterator over a table given its first row, its end (1 + last) and its direction. |
|
| Method Summary | |
|---|---|
RowIterator |
copy()
Clone myself with the right type returned. |
boolean |
hasNext()
|
int |
nextRow()
Returns the next row after incrementing the iterator. |
int |
peekRow()
Returns the next row without incrementing the iterator. |
void |
remove()
|
| Methods inherited from class infovis.utils.AbstractRowIterator |
|---|
next |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TableIterator(int first,
int end,
boolean up)
first - the first rowend - the end of the iteratorup - true if the iterator goes from lower value to upper values,
false otherwise
public TableIterator(int first,
int end)
first - the first rowend - the end of the iterator| Method Detail |
|---|
public boolean hasNext()
public void remove()
public int nextRow()
RowIterator
public int peekRow()
RowIterator
public RowIterator copy()
RowIterator
RowIterator.copy()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||