Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MutableList<T>

Type parameters

  • T

Hierarchy

  • List<T>
    • MutableList

Implemented by

Indexable

[key: number]: T

Index

Properties

empty

empty: boolean

length

length: number

Methods

__@iterator

  • __@iterator(): Iterator<T>

add

  • add(e: T): void
  • add(index: number, e: T): void
  • Parameters

    • e: T

    Returns void

  • Parameters

    • index: number
    • e: T

    Returns void

clear

  • clear(): void
  • Returns void

contains

  • contains(e: T): boolean
  • Parameters

    • e: T

    Returns boolean

copy

indexOf

  • indexOf(e: T): number
  • Parameters

    • e: T

    Returns number

lastIndexOf

  • lastIndexOf(e: T): number
  • Parameters

    • e: T

    Returns number

remove

  • remove(e: T): boolean
  • Parameters

    • e: T

    Returns boolean

removeAt

  • removeAt(index: number): T
  • Parameters

    • index: number

    Returns T

toArray

  • toArray(): Array<T>
  • Returns Array<T>

Generated using TypeDoc