DoublyLinkedListNode<T> class

Constructors

DoublyLinkedListNode(T value)
Creates a new doubly linked list node with the given value

Properties

hashCode int
The hash code for this object.
no setterinherited
next DoublyLinkedListNode<T>?
Reference to the next node in the list
getter/setter pair
prev DoublyLinkedListNode<T>?
Reference to the previous node in the list
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value ↔ T
The value stored in this node
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
Returns a string representation of this node
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromList<T>(List<T> values) DoublyLinkedListNode<T>?
Creates a doubly linked list from a list of values
length<T>(DoublyLinkedListNode<T>? head) int
Gets the length of a doubly linked list
toList<T>(DoublyLinkedListNode<T>? head) List<T>
Converts a doubly linked list to a list of values