Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MutableList<T>

Type Parameters

  • T

Hierarchy

Implemented by

Indexable

[key: number]: T

Index

Properties

empty: boolean
length: number

Methods

  • [iterator](): Iterator<T, any, undefined>
  • Returns Iterator<T, any, undefined>

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

    • e: T

    Returns void

  • Parameters

    • index: number
    • e: T

    Returns void

  • addAll(elements: Iterable<T>): boolean
  • addAll(index: number, elements: Iterable<T>): boolean
  • Parameters

    • elements: Iterable<T>

    Returns boolean

  • Parameters

    • index: number
    • elements: Iterable<T>

    Returns boolean

  • clear(): void
  • Returns void

  • contains(e: T): boolean
  • Parameters

    • e: T

    Returns boolean

  • indexOf(e: T): number
  • Parameters

    • e: T

    Returns number

  • lastIndexOf(e: T): number
  • Parameters

    • e: T

    Returns number

  • remove(e: T): boolean
  • Parameters

    • e: T

    Returns boolean

  • removeAt(index: number): T
  • Parameters

    • index: number

    Returns T

  • toArray(): T[]
  • Returns T[]