static final class DoubleArrayList.ValueIterator extends AbstractIterator<DoubleCursor>
DoubleArrayList.iterator().| Modifier and Type | Field and Description |
|---|---|
private double[] |
buffer |
private DoubleCursor |
cursor |
private int |
size |
| Constructor and Description |
|---|
ValueIterator(double[] buffer,
int size) |
| Modifier and Type | Method and Description |
|---|---|
protected DoubleCursor |
fetch()
Fetch next element.
|
done, hasNext, next, removeprivate final DoubleCursor cursor
private final double[] buffer
private final int size
protected DoubleCursor fetch()
AbstractIteratorAbstractIterator.done() when all
elements have been fetched.fetch in class AbstractIterator<DoubleCursor>AbstractIterator.done().