-
- Type Parameters:
E
- the list element type
- All Superinterfaces:
java.util.Iterator<E>
- All Known Subinterfaces:
DoublyLinkedList.ListNodeIterator<E>
- Enclosing class:
- DoublyLinkedList<E>
public static interface DoublyLinkedList.NodeIterator<E> extends java.util.Iterator<E>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default E
next()
DoublyLinkedList.ListNode<E>
nextNode()
Returns the nextDoublyLinkedList.ListNode
in the list and advances the cursor position.
-
-
-
Method Detail
-
nextNode
DoublyLinkedList.ListNode<E> nextNode()
Returns the nextDoublyLinkedList.ListNode
in the list and advances the cursor position.- Returns:
- the next
ListNode
- See Also:
ListIterator.next()
-
-