Uses of Interface
org.jgrapht.util.DoublyLinkedList.ListNode
-
Packages that use DoublyLinkedList.ListNode Package Description org.jgrapht.util Non-graph-specific data structures, algorithms, and utilities used by JGraphT. -
-
Uses of DoublyLinkedList.ListNode in org.jgrapht.util
Methods in org.jgrapht.util that return DoublyLinkedList.ListNode Modifier and Type Method Description DoublyLinkedList.ListNode<E>
DoublyLinkedList. addElementBeforeNode(DoublyLinkedList.ListNode<E> successor, E element)
Inserts the specified element before the specifiedsuccessor
in this list.DoublyLinkedList.ListNode<E>
DoublyLinkedList. addElementFirst(E element)
Inserts the specified element at the front of this list.DoublyLinkedList.ListNode<E>
DoublyLinkedList. addElementLast(E element)
Inserts the specified element at the end of this list.DoublyLinkedList.ListNode<E>
DoublyLinkedList. getFirstNode()
Returns the firstnode
of this list.DoublyLinkedList.ListNode<E>
DoublyLinkedList. getLastNode()
Returns the lastnode
of this list.DoublyLinkedList.ListNode<E>
DoublyLinkedList. getNode(int index)
Returns thenode
at the specified position in this list.DoublyLinkedList.ListNode<E>
DoublyLinkedList. lastNodeOf(Object element)
Returns the lastnode
holding the specifiedelement
in this list.DoublyLinkedList.ListNode<E>
DoublyLinkedList.NodeIterator. nextNode()
Returns the nextDoublyLinkedList.ListNode
in the list and advances the cursor position.DoublyLinkedList.ListNode<E>
DoublyLinkedList. nodeOf(Object element)
Returns the firstnode
holding the specifiedelement
in this list.DoublyLinkedList.ListNode<E>
DoublyLinkedList.ListNodeIterator. previousNode()
Returns the previousDoublyLinkedList.ListNode
in the list and moves the cursor position backwards.Methods in org.jgrapht.util with parameters of type DoublyLinkedList.ListNode Modifier and Type Method Description DoublyLinkedList.ListNode<E>
DoublyLinkedList. 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.
-