protected class DoublyLinkedList.DoublyLinkedListIterator extends Object implements Iterator<T>
Modifier and Type | Field and Description |
---|---|
protected ListNode2<T> |
itr |
protected int |
length |
protected DoublyLinkedList<T> |
list |
Constructor and Description |
---|
DoublyLinkedListIterator(DoublyLinkedList<T> list) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
T |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
protected DoublyLinkedList<T> list
protected int length
public DoublyLinkedListIterator(DoublyLinkedList<T> list)
Copyright © 2019. All rights reserved.