Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LinkedList<T>

Singly Linked List

Type parameters

  • T

Hierarchy

  • LinkedList

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Private head

head: ListNode<T> = null

Private tail

tail: ListNode<T> = null

Methods

add

  • add(data: T): void

size

  • size(): number

toArray

  • toArray(): number[]

toString

  • toString(): string

Generated using TypeDoc