org.apache.commons.math3.linear
@Deprecated protected class RealVector.SparseEntryIterator extends java.lang.Object implements java.util.Iterator<RealVector.Entry>
Modifier and Type | Field and Description |
---|---|
private RealVector.Entry |
current
Deprecated.
Last entry returned by
next() . |
private int |
dim
Deprecated.
Dimension of the vector.
|
private RealVector.Entry |
next
Deprecated.
Next entry for
next() to return. |
Modifier | Constructor and Description |
---|---|
protected |
RealVector.SparseEntryIterator()
Deprecated.
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
advance(RealVector.Entry e)
Deprecated.
Advance an entry up to the next nonzero one.
|
boolean |
hasNext()
Deprecated.
|
RealVector.Entry |
next()
Deprecated.
|
void |
remove()
Deprecated.
|
private final int dim
private RealVector.Entry current
next()
.private RealVector.Entry next
next()
to return.protected RealVector.SparseEntryIterator()
protected void advance(RealVector.Entry e)
e
- entry to advance.public boolean hasNext()
hasNext
in interface java.util.Iterator<RealVector.Entry>
public RealVector.Entry next()
next
in interface java.util.Iterator<RealVector.Entry>
public void remove() throws MathUnsupportedOperationException
remove
in interface java.util.Iterator<RealVector.Entry>
MathUnsupportedOperationException
- in all circumstances.Copyright (c) 2003-2013 Apache Software Foundation