java.util.Iterator<T>, java.util.ListIterator<T>public final class MutableListIterator<T> extends MutableIterator<T> implements java.util.ListIterator<T>
| Constructor | Description |
|---|---|
MutableListIterator(java.util.List<T> list,
int index) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
add(T o) |
|
boolean |
hasPrevious() |
|
int |
nextIndex() |
|
T |
previous() |
|
int |
previousIndex() |
|
void |
set(T o) |
hasNext, next, removepublic MutableListIterator(java.util.List<T> list, int index)
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>Copyright © 2004–2020. All rights reserved.