Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents a list of values with lazy deserialization.

Type parameters

  • T

Hierarchy

  • ReadOnlyLazyList

Index

Methods

[iterator]

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

get

  • get(index: number): T
  • Returns list's element at the specified index.

    Parameters

    • index: number

      element's index

    Returns T

    element

size

  • size(): number
  • Returns the size of the list.

    Returns number

slice

  • slice(start: number, end?: number): ReadOnlyLazyList<T>
  • Returns a slice of the list.

    Parameters

    • start: number

      The beginning of the specified portion of the list (inclusive).

    • Optional end: number

      The end of the specified portion of the list (exclusive).

    Returns ReadOnlyLazyList<T>

toArray

  • toArray(): T[]
  • Returns an array that contains all elements of this list in proper sequence.

    Returns T[]

values

  • values(): Iterator<T, any, undefined>
  • Returns an iterator for elements in the list.

    Returns Iterator<T, any, undefined>

Generated using TypeDoc