-
- Type Parameters:
E
- the list element type
- All Superinterfaces:
Iterator<E>
- All Known Subinterfaces:
DoublyLinkedList.ListNodeIterator<E>
- Enclosing class:
- DoublyLinkedList<E>
public static interface DoublyLinkedList.NodeIterator<E> extends 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.-
Methods inherited from interface java.util.Iterator
forEachRemaining, hasNext, remove
-
-
-
-
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()
-
-