protected class LazyVector.DummyVectorIterator extends Object implements VectorIterator
| Modifier and Type | Field and Description |
|---|---|
protected double |
defaultValue |
protected int |
pos |
protected int |
size |
protected double |
value |
protected LazyVector |
vector |
| Constructor and Description |
|---|
LazyVector.DummyVectorIterator(LazyVector vector,
int size,
double defaultValue) |
| Modifier and Type | Method and Description |
|---|---|
int |
getPosition()
return linear position of current value in vector
|
double |
getValue() |
boolean |
hasNext() |
double |
next() |
void |
setExclude(double exclude) |
void |
setValue(double value) |
protected LazyVector vector
protected int size
protected double defaultValue
protected double value
protected int pos
public LazyVector.DummyVectorIterator(LazyVector vector, int size, double defaultValue)
public void setExclude(double exclude)
setExclude in interface VectorIteratorpublic boolean hasNext()
hasNext in interface VectorIteratorpublic double next()
next in interface VectorIteratorpublic double getValue()
getValue in interface VectorIteratorpublic void setValue(double value)
setValue in interface VectorIteratorpublic int getPosition()
VectorIteratorgetPosition in interface VectorIteratorCopyright © 2004–2014 CodeLutin. All rights reserved.