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