java.util.Iterator<T>, java.util.ListIterator<T>public class UnmodifiableListIteratorAdapter<T>
extends java.lang.Object
implements java.util.ListIterator<T>
| Constructor | Description |
|---|---|
UnmodifiableListIteratorAdapter(java.util.ListIterator<T> iterator) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
add(T o) |
|
boolean |
hasNext() |
|
boolean |
hasPrevious() |
|
T |
next() |
|
int |
nextIndex() |
|
T |
previous() |
|
int |
previousIndex() |
|
void |
remove() |
|
void |
set(T o) |
public UnmodifiableListIteratorAdapter(java.util.ListIterator<T> iterator)
public boolean hasNext()
public T next()
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>public void remove()
Copyright © 2004–2020. All rights reserved.