Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PrefixableIdentifierGenerator<T>

Type parameters

  • T

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

cache

cache: Map<T, string> = new Map

prefix

prefix: string = "stream"

seed

seed: number = 0

Methods

clone

generate

  • generate(id: number): string

get

  • get(key: T): string

getCached

  • getCached(key: T): string

has

  • has(key: T): boolean

set

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

    • key: T
    • name: string

    Returns void

Generated using TypeDoc