|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TableSequence
Iterator over tables.
Unlike the java.util.Iterator
interface,
the nextTable
method throws a checked exception.
A suitable looping idiom is
TableSequence tseq = getTableSequence(); for (StarTable table; (table = tseq.nextTable()) != null;) { doStuff(table); }
Method Summary | |
---|---|
StarTable |
nextTable()
Returns the next table in the sequence, or null if the end of the sequence is reached. |
Method Detail |
---|
StarTable nextTable() throws java.io.IOException
java.io.IOException
- if there is an error obtaining the table
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |