Iterator<RealVector.Entry>
protected class RealVector.SparseEntryIterator extends Object implements Iterator<RealVector.Entry>
Modifier | Constructor | Description |
---|---|---|
protected |
SparseEntryIterator() |
Simple constructor.
|
Modifier and Type | Method | Description |
---|---|---|
protected void |
advance(RealVector.Entry e) |
Advance an entry up to the next nonzero one.
|
boolean |
hasNext() |
|
RealVector.Entry |
next() |
|
void |
remove() |
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–2018 Hipparchus.org. All rights reserved.