jimm.datavision.source
Class ColumnIterator
java.lang.Object
jimm.datavision.source.ColumnIterator
- All Implemented Interfaces:
- java.util.Iterator
public class ColumnIterator
- extends java.lang.Object
- implements java.util.Iterator
An iterator over the columns in a list of tables. Not used by all data
sources.
|
Field Summary |
(package private) java.util.Iterator |
colIter
|
(package private) java.lang.Object |
nextCol
|
(package private) Table |
table
|
(package private) java.util.Iterator |
tableIter
|
|
Constructor Summary |
ColumnIterator(java.util.Iterator tableIter)
Constructor. |
|
Method Summary |
protected void |
findNext()
Sets col to the next available column. |
boolean |
hasNext()
|
java.lang.Object |
next()
|
void |
remove()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tableIter
java.util.Iterator tableIter
table
Table table
colIter
java.util.Iterator colIter
nextCol
java.lang.Object nextCol
ColumnIterator
public ColumnIterator(java.util.Iterator tableIter)
- Constructor.
hasNext
public boolean hasNext()
- Specified by:
hasNext in interface java.util.Iterator
next
public java.lang.Object next()
throws java.util.NoSuchElementException
- Specified by:
next in interface java.util.Iterator
- Throws:
java.util.NoSuchElementException
remove
public void remove()
throws java.lang.UnsupportedOperationException
- Specified by:
remove in interface java.util.Iterator
- Throws:
java.lang.UnsupportedOperationException
findNext
protected void findNext()
- Sets col to the next available column. If there is none,
col will be set to
null.