Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Row<K, V>

Type parameters

  • K: PropertyKey = any

  • V = any

Hierarchy

Implements

  • Map<K, V>

Index

Constructors

constructor

  • new Row(parent: Vector<Struct>, numKeys: number): Row

Properties

Readonly [Symbol.toStringTag]

[Symbol.toStringTag]: string

Readonly size

size: number

Methods

[Symbol.iterator]

  • [Symbol.iterator](): IterableIterator<[K, V]>

[kCustomInspect]

  • [kCustomInspect](): string

clear

  • clear(): void

delete

  • delete(_: K): boolean

entries

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

forEach

  • forEach(callbackfn: (value: V, key: K, map: Map<K, V>) => void, thisArg?: any): void
  • Parameters

    • callbackfn: (value: V, key: K, map: Map<K, V>) => void
        • (value: V, key: K, map: Map<K, V>): void
        • Parameters

          • value: V
          • key: K
          • map: Map<K, V>

          Returns void

    • Optional thisArg: any

    Returns void

get

  • get(key: K): undefined | V

Abstract getIndex

  • getIndex(key: K): number

Abstract getKey

  • getKey(idx: number): K

Abstract getValue

  • getValue(idx: number): V

has

  • has(key: K): boolean

inspect

  • inspect(): string

Abstract keys

  • keys(): IterableIterator<K>

set

  • set(key: K, val: V): this

Abstract setValue

  • setValue(idx: number, val: V): void

toArray

  • toArray(): V[]

toJSON

  • toJSON(): any

toString

  • toString(): string

Abstract values

  • values(): IterableIterator<V>

Generated using TypeDoc