public class MutableIterator<T>
extends java.lang.Object
implements java.util.Iterator<T>
| Modifier and Type | Field and Description |
|---|---|
protected int |
currentIndex
Index of element to be returned by subsequent call to next.
|
protected int |
lastIndex
Index of element returned by most recent call to next or previous.
|
protected java.util.List<T> |
list |
| Constructor and Description |
|---|
MutableIterator(java.util.List<T> list) |
protected int currentIndex
protected int lastIndex
protected final java.util.List<T> list
public MutableIterator(java.util.List<T> list)