Options
All
  • Public
  • Public/Protected
  • All
Menu

Class IndexableIdentifierGenerator<T>

Type parameters

  • T

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

cache

cache: Map<T, number> = new Map

seed

seed: number = 0

Methods

clone

generate

  • generate(id: number): number

get

  • get(key: T): number

getCached

  • getCached(key: T): number

has

  • has(key: T): boolean

set

  • set(key: T, name: number): void
  • Parameters

    • key: T
    • name: number

    Returns void

Generated using TypeDoc