Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AbstractVector<T, T>

Type parameters

Hierarchy

  • Clonable<Vector<T>>
  • Sliceable<Vector<T>>
  • Applicative<T, Chunked<T>>
    • AbstractVector

Implements

  • Iterable<T["TValue"] | null>

Index

Properties

Abstract ArrayType

ArrayType: T["ArrayType"]

TArray

TArray: T["TArray"]

TType

TType: T["TType"]

TValue

TValue: T["TValue"]

__@isConcatSpreadable

__@isConcatSpreadable: boolean

Abstract byteLength

byteLength: number

Abstract data

data: Data<T>

Abstract length

length: number

Abstract nullCount

nullCount: number

Abstract numChildren

numChildren: number

Abstract stride

stride: number

Abstract type

type: T

Abstract typeId

typeId: T["TType"]

Methods

Abstract __@iterator

  • __@iterator(): IterableIterator<T["TValue"] | null>
  • Returns IterableIterator<T["TValue"] | null>

clone

  • clone(args: any[]): Vector<T>
  • Parameters

    • Rest args: any[]

    Returns Vector<T>

concat

  • concat(others: Vector<T>[]): Chunked<T>
  • Parameters

    • Rest others: Vector<T>[]

    Returns Chunked<T>

Abstract get

  • get(index: number): T["TValue"] | null
  • Parameters

    • index: number

    Returns T["TValue"] | null

Abstract getChildAt

  • getChildAt<R>(index: number): Vector<R> | null
  • Type parameters

    Parameters

    • index: number

    Returns Vector<R> | null

Abstract indexOf

  • indexOf(value: T["TValue"] | null, fromIndex: undefined | number): number
  • Parameters

    • value: T["TValue"] | null
    • Optional fromIndex: undefined | number

    Returns number

Abstract isValid

  • isValid(index: number): boolean
  • Parameters

    • index: number

    Returns boolean

Abstract set

  • set(index: number, value: T["TValue"] | null): void
  • Parameters

    • index: number
    • value: T["TValue"] | null

    Returns void

slice

  • slice(begin: undefined | number, end: undefined | number): Vector<T>
  • Parameters

    • Optional begin: undefined | number
    • Optional end: undefined | number

    Returns Vector<T>

Abstract toArray

  • toArray(): T["TArray"]

Generated using TypeDoc