Package org.jgrapht.util
Interface DoublyLinkedList.ListNodeIterator<E>
-
- Type Parameters:
E- the list element type
- All Superinterfaces:
DoublyLinkedList.NodeIterator<E>,java.util.Iterator<E>,java.util.ListIterator<E>
- Enclosing class:
- DoublyLinkedList<E>
public static interface DoublyLinkedList.ListNodeIterator<E> extends java.util.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
-
-
-
-
Method Detail
-
next
default E next()
- Specified by:
nextin interfaceDoublyLinkedList.NodeIterator<E>- Specified by:
nextin interfacejava.util.Iterator<E>- Specified by:
nextin interfacejava.util.ListIterator<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()
-
-