Options
All
  • Public
  • Public/Protected
  • All
Menu

Generic class for a dynamic List or array

Type parameters

  • T

Hierarchy

  • List

Index

Constructors

Methods

Constructors

constructor

  • Returns List

Methods

add

  • add(value: T): void
  • Adds an item to the list

    Parameters

    • value: T

    Returns void

get

  • get(index: number): T
  • gets the item at index

    Parameters

    • index: number

    Returns T

size

  • size(): number
  • gets the list size

    Returns number

Generated using TypeDoc