net.sourceforge.combean.mathprog.linalg
Class VectorIteratorAsIterator

Package class diagram package VectorIteratorAsIterator
java.lang.Object
  extended by net.sourceforge.combean.mathprog.linalg.VectorIteratorAsIterator
All Implemented Interfaces:
Iterator

public class VectorIteratorAsIterator
extends Object
implements Iterator

Wrap a VectorIterator as ordinary Java-iterator.


Constructor Summary
VectorIteratorAsIterator(VectorIterator vectorIt)
          Constructor.
 
Method Summary
 boolean hasNext()
           
 Object next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VectorIteratorAsIterator

public VectorIteratorAsIterator(VectorIterator vectorIt)
Constructor.

Parameters:
vectorIt - VectorIterator to be wrapped
Method Detail

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