- Type Parameters:
E- the list element type
- All Superinterfaces:
DoublyLinkedList.NodeIterator<E>,Iterator<E>,ListIterator<E>
- Enclosing class:
- DoublyLinkedList<E>
public static interface DoublyLinkedList.ListNodeIterator<E>
extends ListIterator<E>, DoublyLinkedList.NodeIterator<E>
-
Method Summary
Modifier and TypeMethodDescriptiondefault Enext()default Eprevious()Returns the previousDoublyLinkedList.ListNodein the list and moves the cursor position backwards.Methods inherited from interface org.jgrapht.util.DoublyLinkedList.NodeIterator
nextNodeMethods inherited from interface java.util.Iterator
forEachRemainingMethods inherited from interface java.util.ListIterator
add, hasNext, hasPrevious, nextIndex, previousIndex, remove, set
-
Method Details
-
next
- Specified by:
nextin interfaceDoublyLinkedList.NodeIterator<E>- Specified by:
nextin interfaceIterator<E>- Specified by:
nextin interfaceListIterator<E>
-
previous
- Specified by:
previousin interfaceListIterator<E>
-
previousNode
DoublyLinkedList.ListNode<E> previousNode()Returns the previousDoublyLinkedList.ListNodein the list and moves the cursor position backwards.- Returns:
- the previous
ListNode - See Also:
-