Options
All
  • Public
  • Public/Protected
  • All
Menu

Class StructRow<T>

Type parameters

  • T: object

Hierarchy

  • Row<keyof T, T[keyof T]["TValue"] | null>
    • StructRow

Implements

  • Map<keyof T, T[keyof T]["TValue"] | null>

Index

Constructors

constructor

  • new StructRow(parent: StructVector<T>): StructRow

Properties

__@toStringTag

__@toStringTag: string

size

size: number

Methods

__@iterator

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

__computed

  • __computed(): string

clear

  • clear(): void

delete

  • delete(_: keyof T): boolean
  • Parameters

    • _: keyof T

    Returns boolean

entries

  • entries(): IterableIterator<[K, V]>
  • Returns IterableIterator<[K, V]>

forEach

  • forEach(callbackfn: function, thisArg: any): void
  • Parameters

    • callbackfn: function
        • (value: T[keyof T]["TValue"] | null, key: keyof T, map: Map<keyof T, T[keyof T]["TValue"] | null>): void
        • Parameters

          • value: T[keyof T]["TValue"] | null
          • key: keyof T
          • map: Map<keyof T, T[keyof T]["TValue"] | null>

          Returns void

    • Optional thisArg: any

    Returns void

get

  • get(key: keyof T): undefined | V
  • Parameters

    • key: keyof T

    Returns undefined | V

getIndex

  • getIndex(key: keyof T): number
  • Parameters

    • key: keyof T

    Returns number

getKey

  • getKey(idx: number): keyof T
  • Parameters

    • idx: number

    Returns keyof T

getValue

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

    • index: number

    Returns T[keyof T]["TValue"] | null

has

  • has(key: keyof T): boolean
  • Parameters

    • key: keyof T

    Returns boolean

inspect

  • inspect(): string

keys

  • keys(): IterableIterator<keyof T>

set

  • set(key: keyof T, val: T[keyof T]["TValue"] | null): this
  • Parameters

    • key: keyof T
    • val: T[keyof T]["TValue"] | null

    Returns this

setValue

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

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

    Returns void

toArray

  • toArray(): V[]

toJSON

  • toJSON(): any

toString

  • toString(): string

values

  • values(): IterableIterator<null | T[string]["TValue"]>
  • Returns IterableIterator<null | T[string]["TValue"]>

Generated using TypeDoc