final class ParallelArray.ListIter
extends java.lang.Object
implements java.util.ListIterator<T>
Modifier and Type | Field and Description |
---|---|
(package private) T[] |
arr |
(package private) int |
cursor |
(package private) int |
hi |
(package private) int |
lastRet |
Constructor and Description |
---|
ListIter(int lo) |
Modifier and Type | Method and Description |
---|---|
void |
add(T e) |
boolean |
hasNext() |
boolean |
hasPrevious() |
T |
next() |
int |
nextIndex() |
T |
previous() |
int |
previousIndex() |
void |
remove() |
void |
set(T e) |
int cursor
int lastRet
T[] arr
int hi
public boolean hasNext()
public T next()
public void remove()
public boolean hasPrevious()
hasPrevious
in interface java.util.ListIterator<T>
public int nextIndex()
nextIndex
in interface java.util.ListIterator<T>
public int previousIndex()
previousIndex
in interface java.util.ListIterator<T>