protected class OpenMapRealVector.OpenMapSparseIterator extends java.lang.Object implements java.util.Iterator<RealVector.Entry>
Modifier and Type | Field and Description |
---|---|
private RealVector.Entry |
current
Current entry.
|
private OpenIntToDoubleHashMap.Iterator |
iter
Underlying iterator.
|
Modifier | Constructor and Description |
---|---|
protected |
OpenMapRealVector.OpenMapSparseIterator()
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
RealVector.Entry |
next() |
void |
remove() |
private final OpenIntToDoubleHashMap.Iterator iter
private final RealVector.Entry current
protected OpenMapRealVector.OpenMapSparseIterator()
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()
remove
in interface java.util.Iterator<RealVector.Entry>
Copyright (c) 2003-2013 Apache Software Foundation