Options
All
  • Public
  • Public/Protected
  • All
Menu

Class IndexedMap<T, U>

Extension of ES6 Map<T, U> that enforces T to implement IIndexable, so that when Map.has checks its internal keys, the typical object === object match won't fail, because it will use the IIndexable.getIndex() value as the key.

Type parameters

Hierarchy

  • IndexedMap

Index

Methods

add

  • add(item: T, value: U): this

clear

  • clear(): this

contains

  • contains(item: T): boolean

delete

  • delete(item: T): this

entries

  • entries(): Map<string, U>

get

  • get(item: T): U

Generated using TypeDoc