net.sourceforge.combean.mathprog.linalg
Class VectorIteratorAsIterator
java.lang.Object
net.sourceforge.combean.mathprog.linalg.VectorIteratorAsIterator
- All Implemented Interfaces:
- Iterator
public class VectorIteratorAsIterator
- extends Object
- implements Iterator
Wrap a VectorIterator as ordinary Java-iterator.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VectorIteratorAsIterator
public VectorIteratorAsIterator(VectorIterator vectorIt)
- Constructor.
- Parameters:
vectorIt
- VectorIterator to be wrapped
remove
public void remove()
- Specified by:
remove
in interface Iterator
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator
next
public Object next()
- Specified by:
next
in interface Iterator