Class DoublyLinkedList.ListNodeImpl<V>
java.lang.Object
org.jgrapht.util.DoublyLinkedList.ListNodeImpl<V>
- All Implemented Interfaces:
DoublyLinkedList.ListNode<V>
- Enclosing class:
DoublyLinkedList<E>
private static class DoublyLinkedList.ListNodeImpl<V>
extends Object
implements DoublyLinkedList.ListNode<V>
The default
DoublyLinkedList.ListNode implementation that enables checks and enforcement of a single
container list policy.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate DoublyLinkedList<V> private DoublyLinkedList.ListNodeImpl<V> private DoublyLinkedList.ListNodeImpl<V> private final V -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
value
-
list
-
next
-
prev
-
-
Constructor Details
-
ListNodeImpl
-
-
Method Details
-
toString
-
getValue
Returns the immutable value thisListNodecontains.- Specified by:
getValuein interfaceDoublyLinkedList.ListNode<V>- Returns:
- the value this list node contains
-
getNext
Returns the next node in the list structure with respect to this node- Specified by:
getNextin interfaceDoublyLinkedList.ListNode<V>- Returns:
- the next node in the list structure with respect to this node
-
getPrev
Returns the previous node in the list structure with respect to this node- Specified by:
getPrevin interfaceDoublyLinkedList.ListNode<V>- Returns:
- the previous node in the list structure with respect to this node
-