private static final class Iterators.ArrayItr<T> extends AbstractIndexedListIterator<T>
| Modifier and Type | Field and Description |
|---|---|
private T[] |
array |
(package private) static UnmodifiableListIterator<java.lang.Object> |
EMPTY |
private int |
offset |
| Constructor and Description |
|---|
ArrayItr(T[] array,
int offset,
int length,
int index) |
| Modifier and Type | Method and Description |
|---|---|
protected T |
get(int index)
Returns the element with the specified index.
|
hasNext, hasPrevious, next, nextIndex, previous, previousIndexadd, setremovestatic final UnmodifiableListIterator<java.lang.Object> EMPTY
private final T[] array
private final int offset
ArrayItr(T[] array, int offset, int length, int index)
protected T get(int index)
AbstractIndexedListIteratorAbstractIndexedListIterator.next().get in class AbstractIndexedListIterator<T>