private class DescendableLinkedList.DescendingIterator<E>
extends java.lang.Object
implements java.util.Iterator<E>
Modifier | Constructor and Description |
---|---|
private |
DescendingIterator(int index) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext()
Check if there is another element on the list.
|
E |
next()
Get the next element.
|
void |
remove()
Remove the current element.
|
private final java.util.ListIterator<E> iter
public boolean hasNext()
hasNext
in interface java.util.Iterator<E>
public E next()
next
in interface java.util.Iterator<E>
public void remove()
remove
in interface java.util.Iterator<E>