|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.math.linear.OpenMapRealVector.OpenMapSparseIterator
protected class OpenMapRealVector.OpenMapSparseIterator
Iterator class to do iteration over just the non-zero elements.
This implementation is fail-fast, so cannot be used to modify any zero element.
Constructor Summary | |
---|---|
protected |
OpenMapRealVector.OpenMapSparseIterator()
Simple constructor. |
Method Summary | |
---|---|
boolean |
hasNext()
|
RealVector.Entry |
next()
|
void |
remove()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected OpenMapRealVector.OpenMapSparseIterator()
Method Detail |
---|
public boolean hasNext()
hasNext
in interface Iterator<RealVector.Entry>
public RealVector.Entry next()
next
in interface Iterator<RealVector.Entry>
public void remove()
remove
in interface Iterator<RealVector.Entry>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |