public class VectorIterator extends IteratorEnumerator
Constructor and Description |
---|
VectorIterator() |
VectorIterator(Vector v) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext()
Override this to implement your own hasNext().
|
Object |
next()
Override this to implement your own next().
|
VectorIterator |
set(Vector v) |
hasMoreElements, nextElement, remove
public VectorIterator()
public VectorIterator(Vector v)
public VectorIterator set(Vector v)
public boolean hasNext()
IteratorEnumerator
hasNext
in interface Iterator
hasNext
in class IteratorEnumerator
public Object next()
IteratorEnumerator
next
in interface Iterator
next
in class IteratorEnumerator