Search
Preparing search index...
The search index is not available
composable
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
PrefixableIdentifierGenerator
Class PrefixableIdentifierGenerator<T>
Type parameters
T
Hierarchy
IdentifierGenerator
<
T
,
string
>
PrefixableIdentifierGenerator
Index
Constructors
constructor
Properties
cache
prefix
seed
Methods
clone
generate
get
get
Cached
has
set
Constructors
constructor
new
Prefixable
Identifier
Generator
(
prefix
:
string
, seed
?:
number
)
:
PrefixableIdentifierGenerator
Parameters
prefix:
string
Default value
seed:
number
= 0
Returns
PrefixableIdentifierGenerator
Properties
cache
cache
:
Map
<
T
,
string
>
= new Map
prefix
prefix
:
string
= "stream"
seed
seed
:
number
= 0
Methods
clone
clone
(
)
:
PrefixableIdentifierGenerator
<
T
>
Returns
PrefixableIdentifierGenerator
<
T
>
generate
generate
(
id
:
number
)
:
string
Parameters
id:
number
Returns
string
get
get
(
key
:
T
)
:
string
Parameters
key:
T
Returns
string
get
Cached
get
Cached
(
key
:
T
)
:
string
Parameters
key:
T
Returns
string
has
has
(
key
:
T
)
:
boolean
Parameters
key:
T
Returns
boolean
set
set
(
key
:
T
, name
:
string
)
:
void
Parameters
key:
T
name:
string
Returns
void
Globals
Prefixable
Identifier
Generator
constructor
cache
prefix
seed
clone
generate
get
get
Cached
has
set
Generated using
TypeDoc