Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Collection<T> Abstract

A base class for collections

Type Parameters

  • T

Hierarchy

Index

Constructors

  • new Collection<T>(dom: Dom, ptr: number, len: number): Collection<T>

Properties

dom: Dom
len: number
ptr: number

Methods

  • [iterator](): Iterator<T, any, undefined>
  • at(index: number): null | T
  • Parameters

    • index: number

    Returns null | T

  • length(): number
  • Returns the number of elements in this collection

    Returns number

  • toArray(): T[]
  • Copies all elements of this external collection to an array.

    Returns T[]

Generated using TypeDoc