public interface TableSequence
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); }
Modifier and Type | Method and Description |
---|---|
StarTable |
nextTable()
Returns the next table in the sequence, or null if the end of
the sequence is reached.
|
StarTable nextTable() throws java.io.IOException
java.io.IOException
- if there is an error obtaining the table