Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IList<T>

Type parameters

  • T

Hierarchy

Implemented by

Index

Properties

size

size: number

Methods

_2ad2e5f4b2884a52bf8bfc07ce8953d3

  • _2ad2e5f4b2884a52bf8bfc07ce8953d3(): void
  • Returns void

__@iterator

  • __@iterator(): Iterator<T>
  • Returns Iterator<T>

clear

  • clear(): void
  • Returns void

get

  • get(index: number): T
  • Parameters

    • index: number

    Returns T

includes

  • includes(element: T): boolean
  • Parameters

    • element: T

    Returns boolean

indexOf

  • indexOf(searchElement: T): number
  • Parameters

    • searchElement: T

    Returns number

insert

  • insert(index: number, item: T): void
  • Parameters

    • index: number
    • item: T

    Returns void

push

  • push(...items: T[]): number
  • Parameters

    • Rest ...items: T[]

    Returns number

remove

  • remove(item: T): void
  • Parameters

    • item: T

    Returns void

removeAt

  • removeAt(index: number): T
  • Parameters

    • index: number

    Returns T

set

  • set(index: number, value: T): void
  • Parameters

    • index: number
    • value: T

    Returns void