Search
Preparing search index...
The search index is not available
@searchfe/inject-js
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"utils/map"
Map
Class Map<KeyType, ValueType>
ES6 Map 的部分实现
Type parameters
KeyType
ValueType
Hierarchy
Map
Index
Properties
_keys
_values
Methods
clear
get
has
keys
set
values
Properties
Private
_keys
_keys
:
KeyType
[]
= []
Private
_values
_values
:
ValueType
[]
= []
Methods
clear
clear
(
)
:
void
Returns
void
get
get
(
key
:
KeyType
)
:
ValueType
|
undefined
Parameters
key:
KeyType
Returns
ValueType
|
undefined
has
has
(
key
:
KeyType
)
:
boolean
Parameters
key:
KeyType
Returns
boolean
keys
keys
(
)
:
KeyType
[]
Returns
KeyType
[]
set
set
(
key
:
KeyType
, value
:
ValueType
)
:
void
Parameters
key:
KeyType
value:
ValueType
Returns
void
values
values
(
)
:
ValueType
[]
Returns
ValueType
[]
Globals
"decorators/inject"
"decorators/injectable"
"decorators/service"
"di/container"
"di/dependency"
"di/factory-
provider-
impl"
"di/inject-
token"
"di/provider"
"di/service-
provider-
impl"
"di/value-
provider-
impl"
"index"
"utils/array"
"utils/graph"
"utils/map"
Map
_keys
_values
clear
get
has
keys
set
values
decrease
increase
Generated using
TypeDoc
ES6 Map 的部分实现