Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Node

A basic node class for LinkedStack It contains info about type of the stack item, link to the previous node and value of the item.

Hierarchy

  • Node

Index

Constructors

Properties

Methods

Constructors

constructor

  • new Node(value: number | string, prevNode?: Node | undefined): Node

Properties

index

index: number

prevNode

prevNode: Node | null

type

value

value: number | string

Methods

getNodeType

Generated using TypeDoc