|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.udo.cs.yale.example.ListDataRowReader
public class ListDataRowReader
Iterates over a list of DataRows. Actually a misnomer because this class does not use a list but an iterator over an arbitrary collection.
| Field Summary | |
|---|---|
private java.util.Iterator<DataRow> |
iterator
|
| Constructor Summary | |
|---|---|
ListDataRowReader(java.util.Iterator<DataRow> i)
|
|
| Method Summary | |
|---|---|
boolean |
hasNext()
|
DataRow |
next()
|
void |
remove()
Will throw a new UnsupportedOperationException since DataRowReader does not have
to implement remove. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private java.util.Iterator<DataRow> iterator
| Constructor Detail |
|---|
public ListDataRowReader(java.util.Iterator<DataRow> i)
| Method Detail |
|---|
public boolean hasNext()
hasNext in interface java.util.Iterator<DataRow>public DataRow next()
next in interface java.util.Iterator<DataRow>public void remove()
UnsupportedOperationException since DataRowReader does not have
to implement remove.
remove in interface java.util.Iterator<DataRow>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||