Uses of Interface
org.jgrapht.util.DoublyLinkedList.ListNode
Package
Description
Non-graph-specific data structures, algorithms, and utilities used by JGraphT.
-
Uses of DoublyLinkedList.ListNode in org.jgrapht.util
Modifier and TypeMethodDescriptionDoublyLinkedList.addElementBeforeNode
(DoublyLinkedList.ListNode<E> successor, E element) Inserts the specified element before the specifiedsuccessor
in this list.DoublyLinkedList.addElementFirst
(E element) Inserts the specified element at the front of this list.DoublyLinkedList.addElementLast
(E element) Inserts the specified element at the end of this list.DoublyLinkedList.getFirstNode()
Returns the firstnode
of this list.DoublyLinkedList.getLastNode()
Returns the lastnode
of this list.DoublyLinkedList.ListNode.getNext()
Returns the next node in the list structure with respect to this nodeDoublyLinkedList.getNode
(int index) Returns thenode
at the specified position in this list.DoublyLinkedList.ListNode.getPrev()
Returns the previous node in the list structure with respect to this nodeDoublyLinkedList.lastNodeOf
(Object element) Returns the lastnode
holding the specifiedelement
in this list.DoublyLinkedList.NodeIterator.nextNode()
Returns the nextDoublyLinkedList.ListNode
in the list and advances the cursor position.Returns the firstnode
holding the specifiedelement
in this list.DoublyLinkedList.ListNodeIterator.previousNode()
Returns the previousDoublyLinkedList.ListNode
in the list and moves the cursor position backwards.Modifier and TypeMethodDescriptionDoublyLinkedList.addElementBeforeNode
(DoublyLinkedList.ListNode<E> successor, E element) Inserts the specified element before the specifiedsuccessor
in this list.void
DoublyLinkedList.addNode
(int index, DoublyLinkedList.ListNode<E> node) Inserts the specifiednode
at the specified position in this list.void
DoublyLinkedList.addNodeBefore
(DoublyLinkedList.ListNode<E> node, DoublyLinkedList.ListNode<E> successor) Inserts the specifiednode
before the specifiedsuccessor
in this list.void
DoublyLinkedList.addNodeFirst
(DoublyLinkedList.ListNode<E> node) Inserts the specifiednode
at the front of this list.void
DoublyLinkedList.addNodeLast
(DoublyLinkedList.ListNode<E> node) Inserts the specifiednode
at the end of this list.boolean
DoublyLinkedList.containsNode
(DoublyLinkedList.ListNode<E> node) Returns true if thisDoublyLinkedList
contains the specifiedDoublyLinkedList.ListNode
.int
DoublyLinkedList.indexOfNode
(DoublyLinkedList.ListNode<E> node) Returns the index of the specifiednode
in this list, or -1 if this list does not contain thenode
.boolean
DoublyLinkedList.removeNode
(DoublyLinkedList.ListNode<E> node) Removes thenode
from this list.