Skip to main content
Version: 5.2

IdentityMap

Index

Constructors

constructor

Methods

[iterator]

  • [iterator](): IterableIterator<AnyEntity<any>>

clear

  • clear(): void
  • Returns void

delete

  • delete<T>(item: T): void
  • Type parameters

    Parameters

    • item: T

    Returns void

get

  • get<T>(hash: string): undefined | T
  • For back compatibility only.


    Type parameters

    • T

    Parameters

    • hash: string

    Returns undefined | T

getByHash

  • Type parameters

    • T

    Parameters

    Returns undefined | T

getStore

keys

  • keys(): string[]
  • Returns string[]

store

  • store<T>(item: T): void
  • Type parameters

    Parameters

    • item: T

    Returns void

values