|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--ObjectIterator
This class creates Iterators out of Vectors.
| Field Summary | |
private java.util.Vector |
data
|
private int |
i
|
| Constructor Summary | |
ObjectIterator(java.util.Vector data)
The constructor for ObjectIterator. |
|
| Method Summary | |
boolean |
hasNext()
Determine whether there are more elements in the Iterator. |
java.lang.Object |
next()
Get the next Object in the iteration. |
void |
remove()
Unimplemented. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private java.util.Vector data
private int i
| Constructor Detail |
public ObjectIterator(java.util.Vector data)
| Method Detail |
public boolean hasNext()
hasNext in interface java.util.Iteratorpublic java.lang.Object next()
next in interface java.util.Iteratorpublic void remove()
remove in interface java.util.Iterator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||