java.util.Iterator<K>
, java.util.ListIterator<K>
public class ReadOnlyListIterator<K>
extends java.lang.Object
implements java.util.ListIterator<K>
Constructor | Description |
---|---|
ReadOnlyListIterator(java.util.ListIterator<K> i) |
Modifier and Type | Method | Description |
---|---|---|
void |
add(K arg0) |
|
boolean |
hasNext() |
|
boolean |
hasPrevious() |
|
K |
next() |
|
int |
nextIndex() |
|
K |
previous() |
|
int |
previousIndex() |
|
void |
remove() |
|
void |
set(K arg0) |
public ReadOnlyListIterator(java.util.ListIterator<K> i)
public boolean hasNext()
public boolean hasPrevious()
hasPrevious
in interface java.util.ListIterator<K>
public K next()
public int nextIndex()
nextIndex
in interface java.util.ListIterator<K>
public int previousIndex()
previousIndex
in interface java.util.ListIterator<K>
public void remove()