protected class RealVector.SparseEntryIterator extends Object implements Iterator<RealVector.Entry>
Modifier | Constructor and Description |
---|---|
protected |
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() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
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 MathRuntimeException
remove
in interface Iterator<RealVector.Entry>
MathRuntimeException
- in all circumstances.Copyright © 2016–2017 Hipparchus.org. All rights reserved.