protected class RealVector.SparseEntryIterator extends Object implements Iterator<RealVector.Entry>
| Modifier | Constructor and Description |
|---|---|
protected |
RealVector.SparseEntryIterator()
Simple constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
advance(RealVector.Entry e)
Advance an entry up to the next nonzero one.
|
boolean |
hasNext() |
RealVector.Entry |
next() |
void |
remove() |
protected RealVector.SparseEntryIterator()
protected void advance(RealVector.Entry e)
e - entry to advance.public boolean hasNext()
hasNext in interface Iterator<RealVector.Entry>public RealVector.Entry next()
next in interface Iterator<RealVector.Entry>public void remove()
throws MathUnsupportedOperationException
remove in interface Iterator<RealVector.Entry>MathUnsupportedOperationException - in all circumstances.Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.