blinq
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Hash
Table
constructor
__@to
String
Tag
avg
Bucket
Fill
buckets
comparer
count
hash
Table
Factory
initial
Capacity
insert
Count
size
__@iterator
add
clear
delete
entries
for
Each
get
has
keys
set
to
String
values
Type parameters
TKey
TValue
Hierarchy
HashTable
Implements
Map
<
TKey
,
TValue
>
Index
Constructors
constructor
Properties
__@to
String
Tag
avg
Bucket
Fill
buckets
comparer
count
hash
Table
Factory
initial
Capacity
insert
Count
Accessors
size
Methods
__@iterator
add
clear
delete
entries
for
Each
get
has
keys
set
to
String
values
Constructors
constructor
new
Hash
Table
(
buckets
:
KeyValuePair
<
TKey
,
TValue
>
[]
[]
, count
:
number
, avgBucketFill
:
number
, initialCapacity
:
number
, comparer
:
EqualityComparer
<
TKey
>
, hashTableFactory
:
function
)
:
HashTable
Parameters
buckets:
KeyValuePair
<
TKey
,
TValue
>
[]
[]
count:
number
avgBucketFill:
number
initialCapacity:
number
comparer:
EqualityComparer
<
TKey
>
hashTableFactory:
function
(
cap
:
number
, comparer
:
EqualityComparer
<
TKey
>
)
:
HashTable
<
TKey
,
TValue
>
Parameters
cap:
number
comparer:
EqualityComparer
<
TKey
>
Returns
HashTable
<
TKey
,
TValue
>
Returns
HashTable
Properties
__@to
String
Tag
__@to
String
Tag
:
"Map"
avg
Bucket
Fill
avg
Bucket
Fill
:
number
buckets
buckets
:
KeyValuePair
<
TKey
,
TValue
>
[]
[]
comparer
comparer
:
EqualityComparer
<
TKey
>
count
count
:
number
hash
Table
Factory
hash
Table
Factory
:
function
Type declaration
(
cap
:
number
, comparer
:
EqualityComparer
<
TKey
>
)
:
HashTable
<
TKey
,
TValue
>
Parameters
cap:
number
comparer:
EqualityComparer
<
TKey
>
Returns
HashTable
<
TKey
,
TValue
>
initial
Capacity
initial
Capacity
:
number
insert
Count
insert
Count
:
number
Accessors
size
size
:
Methods
__@iterator
__@iterator
(
)
:
IterableIterator
<
Object
>
Returns
IterableIterator
<
Object
>
add
add
(
key
:
TKey
, value
:
TValue
, insertIndex
?:
undefined
|
number
)
:
boolean
Parameters
key:
TKey
value:
TValue
Optional
insertIndex:
undefined
|
number
Returns
boolean
clear
clear
(
)
:
void
Returns
void
delete
delete
(
key
:
TKey
)
:
boolean
Parameters
key:
TKey
Returns
boolean
entries
entries
(
)
:
IterableIterator
<
[
TKey
,
TValue
]
>
Returns
IterableIterator
<
[
TKey
,
TValue
]
>
for
Each
for
Each
(
callbackfn
:
function
, thisArg
?:
any
)
:
void
Parameters
callbackfn:
function
(
value
:
TValue
, key
:
TKey
, map
:
Map
<
TKey
,
TValue
>
)
:
void
Parameters
value:
TValue
key:
TKey
map:
Map
<
TKey
,
TValue
>
Returns
void
Optional
thisArg:
any
Returns
void
get
get
(
key
:
TKey
)
:
undefined
|
TValue
Parameters
key:
TKey
Returns
undefined
|
TValue
has
has
(
key
:
TKey
)
:
boolean
Parameters
key:
TKey
Returns
boolean
keys
keys
(
)
:
IterableIterator
<
TKey
>
Returns
IterableIterator
<
TKey
>
set
set
(
key
:
TKey
, value
:
TValue
)
:
this
Parameters
key:
TKey
value:
TValue
Returns
this
to
String
to
String
(
)
:
string
Returns
string
values
values
(
)
:
IterableIterator
<
TValue
>
Returns
IterableIterator
<
TValue
>
Generated using
TypeDoc