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