Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ImmutableList<T>

Type parameters

  • T

Hierarchy

Index

Methods

__@iterator

  • __@iterator(): Iterator<T>

contains

  • contains(t: T): boolean

forEach

get

  • get(index: number): T
  • Parameters

    • index: number

    Returns T

    the element at the specified position in this list

indexOf

  • indexOf(t: T): number
  • Parameters

    • t: T

    Returns number

    the index of the first occurrence of the specified element in this list, or -1 if this list does not contain the element

isEmpty

  • isEmpty(): boolean

iterator

lastIndexOf

  • lastIndexOf(t: T): number
  • Parameters

    • t: T

    Returns number

    the index of the last occurrence of the specified element in this list, or -1 if this list does not contain the element

size

  • size(): number

Generated using TypeDoc