Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface INode<T>

An object which represents a node in a linked list.

Notes

User code will not create linked list nodes directly. Nodes are created automatically when values are added to a list.

Type parameters

  • T

Hierarchy

  • INode

Index

Properties

Properties

list

list: LinkedList<T> | null

The linked list which created and owns the node.

This will be null when the node is removed from the list.

next

next: INode<T> | null

The next node in the list.

This will be null when the node is the last node in the list or when the node is removed from the list.

prev

prev: INode<T> | null

The previous node in the list.

This will be null when the node is the first node in the list or when the node is removed from the list.

value

value: T

The user value stored in the node.

Generated using TypeDoc