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 IOException
IOException
- if there is an error obtaining the tableCopyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.