Import std.collections.linked_list
LinkedListNode
class
Public Class LinkedListNode<T>
One value of a LinkedList, with the ones before and after it, which inserting and removing next to it go through.
Examples
Local list = LinkedList<Int>()
Local first = list.Add(1)
list.Add(2)
Expect(first.Next?.Value == 2 && first.Previous == Null)
first.Value = 10
Expect(list.ToArray() == [10, 2])std/collections/linked_list.fb, line 26
-
Its value.
-
The node after this one, or Null when it's the last or not in a list.
-
The node before this one, or Null when it's the first or not in a list.
-
The list it's in, or Null once it's removed.
Report an issue with this page or with FutureBlitz on GitHub.