Uses of Class
org.jgrapht.util.DoublyLinkedList.ListNodeImpl
-
Packages that use DoublyLinkedList.ListNodeImpl Package Description org.jgrapht.util 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.ListNodeImpl Modifier and Type Field Description private 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.ListNodeImpl Modifier and Type Method Description DoublyLinkedList.ListNodeImpl<V>
DoublyLinkedList.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<V>
DoublyLinkedList.ListNodeImpl. getPrev()
Returns the previous node in the list structure with respect to this nodeDoublyLinkedList.ListNodeImpl<E>
DoublyLinkedList.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.ListNodeImpl Modifier and Type Method Description private Pair<DoublyLinkedList.ListNodeImpl<E>,java.lang.Integer>
DoublyLinkedList. searchNode(java.util.function.Supplier<DoublyLinkedList.ListNodeImpl<E>> first, java.util.function.UnaryOperator<DoublyLinkedList.ListNodeImpl<E>> next, java.lang.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.ListNodeImpl Modifier and Type Method Description private 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.ListNodeImpl Modifier and Type Method Description private Pair<DoublyLinkedList.ListNodeImpl<E>,java.lang.Integer>
DoublyLinkedList. searchNode(java.util.function.Supplier<DoublyLinkedList.ListNodeImpl<E>> first, java.util.function.UnaryOperator<DoublyLinkedList.ListNodeImpl<E>> next, java.lang.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>,java.lang.Integer>
DoublyLinkedList. searchNode(java.util.function.Supplier<DoublyLinkedList.ListNodeImpl<E>> first, java.util.function.UnaryOperator<DoublyLinkedList.ListNodeImpl<E>> next, java.lang.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.ListNodeImpl Constructor Description ListNodeIteratorImpl(int startIndex, DoublyLinkedList.ListNodeImpl<E> startNode)
-