-
- 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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Enext()default Eprevious()DoublyLinkedList.ListNode<E>previousNode()Returns the previousDoublyLinkedList.ListNodein the list and moves the cursor position backwards.-
Methods inherited from interface org.jgrapht.util.DoublyLinkedList.NodeIterator
nextNode
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Methods inherited from interface java.util.ListIterator
add, hasNext, hasPrevious, nextIndex, previousIndex, remove, set
-
-
-
-
Method Detail
-
next
default E next()
- Specified by:
nextin interfaceDoublyLinkedList.NodeIterator<E>- Specified by:
nextin interfaceIterator<E>- Specified by:
nextin interfaceListIterator<E>
-
previous
default 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:
ListIterator.previous()
-
-