Options
All
  • Public
  • Public/Protected
  • All
Menu

Class StructRow<T>

Type parameters

  • T: {} = any

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

Readonly [Symbol.toStringTag]

[Symbol.toStringTag]: string

Readonly size

size: number

Methods

[Symbol.iterator]

  • [Symbol.iterator](): IterableIterator<[keyof T, T[keyof T]["TValue"] | null]>

[kCustomInspect]

  • [kCustomInspect](): string

clear

  • clear(): void

delete

  • delete(_: keyof T): boolean

entries

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

forEach

  • forEach(callbackfn: (value: T[keyof T]["TValue"] | null, key: keyof T, map: Map<keyof T, T[keyof T]["TValue"] | null>) => void, thisArg?: any): void
  • Parameters

    • callbackfn: (value: T[keyof T]["TValue"] | null, key: keyof T, map: Map<keyof T, T[keyof T]["TValue"] | null>) => void
        • (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

getIndex

  • getIndex(key: keyof T): number

getKey

  • getKey(idx: number): keyof T

getValue

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

has

  • has(key: keyof T): boolean

inspect

  • inspect(): string

keys

  • keys(): Generator<keyof T, void, unknown>

set

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

setValue

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

toArray

  • toArray(): V[]

toJSON

  • toJSON(): any

toString

  • toString(): string

values

  • values(): Generator<null | T[string]["TValue"], void, unknown>

Generated using TypeDoc