Skip to content
FutureBlitz

    Install

    Import std.collections.linked_list

    LinkedListNode

    std.collections.linked_list

    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

    • Public Field Value: T field #

      Its value.

    • Public Property Next: LinkedListNode<T>? property #

      The node after this one, or Null when it's the last or not in a list.

    • Public Property Previous: LinkedListNode<T>? property #

      The node before this one, or Null when it's the first or not in a list.

    • Public Property List: LinkedList<T>? property #

      The list it's in, or Null once it's removed.

    Report an issue with this page or with FutureBlitz on GitHub.