Uses of Class
org.jgrapht.util.DoublyLinkedList.ListNodeImpl
Packages that use DoublyLinkedList.ListNodeImpl
Package
Description
Non-graph-specific data structures, algorithms, and utilities used by JGraphT.
-
Uses of DoublyLinkedList.ListNodeImpl in org.jgrapht.util
Fields in org.jgrapht.util declared as DoublyLinkedList.ListNodeImplModifier and TypeFieldDescriptionprivate DoublyLinkedList.ListNodeImpl
<E> DoublyLinkedList.head
The first element of the list,null
if this list is empty.private DoublyLinkedList.ListNodeImpl
<E> DoublyLinkedList.ListNodeIteratorImpl.last
ListNode this iterator returned last.private DoublyLinkedList.ListNodeImpl
<V> DoublyLinkedList.ListNodeImpl.next
private DoublyLinkedList.ListNodeImpl
<E> DoublyLinkedList.ListNodeIteratorImpl.next
ListNode this iterator will return next.private DoublyLinkedList.ListNodeImpl
<V> DoublyLinkedList.ListNodeImpl.prev
Methods in org.jgrapht.util that return DoublyLinkedList.ListNodeImplModifier and TypeMethodDescriptionDoublyLinkedList.ListNodeImpl.getNext()
Returns the next node in the list structure with respect to this nodeprivate DoublyLinkedList.ListNodeImpl
<E> DoublyLinkedList.getNodeAt
(int index) Returns thenode
at the specified position in this list.DoublyLinkedList.ListNodeImpl.getPrev()
Returns the previous node in the list structure with respect to this nodeDoublyLinkedList.ListNodeIteratorImpl.nextNode()
Returns the nextDoublyLinkedList.ListNode
in the list and advances the cursor position.private DoublyLinkedList.ListNodeImpl
<E> DoublyLinkedList.tail()
Methods in org.jgrapht.util that return types with arguments of type DoublyLinkedList.ListNodeImplModifier and TypeMethodDescriptionprivate Pair
<DoublyLinkedList.ListNodeImpl<E>, Integer> DoublyLinkedList.searchNode
(Supplier<DoublyLinkedList.ListNodeImpl<E>> first, UnaryOperator<DoublyLinkedList.ListNodeImpl<E>> next, Object element) Returns aPair
of the first encounteredDoublyLinkedList.ListNode
in this list, whosevalue
is equal to the givenelement
, and its index.Methods in org.jgrapht.util with parameters of type DoublyLinkedList.ListNodeImplModifier and TypeMethodDescriptionprivate void
DoublyLinkedList.addListNode
(DoublyLinkedList.ListNodeImpl<E> node) Adds the givenDoublyLinkedList.ListNode
to thisList
.private void
DoublyLinkedList.link
(DoublyLinkedList.ListNodeImpl<E> predecessor, DoublyLinkedList.ListNodeImpl<E> successor) Establishes the links between the givennodes
in such a way that thepredecessor
is linked before thesuccessor
.private void
DoublyLinkedList.linkBefore
(DoublyLinkedList.ListNodeImpl<E> node, DoublyLinkedList.ListNodeImpl<E> successor) Insert non nullnode
before non nullsuccessor
into the list.private void
DoublyLinkedList.linkLast
(DoublyLinkedList.ListNodeImpl<E> node) Insert non nullnode
as last node into the list.private boolean
DoublyLinkedList.removeListNode
(DoublyLinkedList.ListNodeImpl<E> node) private boolean
DoublyLinkedList.unlink
(DoublyLinkedList.ListNodeImpl<E> node) Remove the non nullnode
from the list.Method parameters in org.jgrapht.util with type arguments of type DoublyLinkedList.ListNodeImplModifier and TypeMethodDescriptionprivate Pair
<DoublyLinkedList.ListNodeImpl<E>, Integer> DoublyLinkedList.searchNode
(Supplier<DoublyLinkedList.ListNodeImpl<E>> first, UnaryOperator<DoublyLinkedList.ListNodeImpl<E>> next, Object element) Returns aPair
of the first encounteredDoublyLinkedList.ListNode
in this list, whosevalue
is equal to the givenelement
, and its index.private Pair
<DoublyLinkedList.ListNodeImpl<E>, Integer> DoublyLinkedList.searchNode
(Supplier<DoublyLinkedList.ListNodeImpl<E>> first, UnaryOperator<DoublyLinkedList.ListNodeImpl<E>> next, Object element) Returns aPair
of the first encounteredDoublyLinkedList.ListNode
in this list, whosevalue
is equal to the givenelement
, and its index.Constructors in org.jgrapht.util with parameters of type DoublyLinkedList.ListNodeImplModifierConstructorDescriptionprivate
ListNodeIteratorImpl
(int startIndex, DoublyLinkedList.ListNodeImpl<E> startNode)