|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.enough.polish.util.VectorIterator
public class VectorIterator
Is used to traverse through vectors.
Copyright Enough Software 2006 - 2009
| Constructor Summary | |
|---|---|
VectorIterator(Vector vector)
Creates a new iterator over a vector. |
|
| Method Summary | |
|---|---|
boolean |
hasNext()
Determines whether there is a following object in this iterator. |
Object |
next()
Returns the next element in the iteration. |
void |
remove()
Removes from the underlying collection the last element returned by the iterator (optional operation). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VectorIterator(Vector vector)
vector - the vector the iterate.| Method Detail |
|---|
public boolean hasNext()
Iterator
hasNext in interface Iteratorpublic Object next()
Iterator
next in interface Iteratorpublic void remove()
Iterator
remove in interface Iterator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||