@terascope/data-mate / core/interfaces / ReadonlySparseMap
Interface: ReadonlySparseMap<V>
Defined in: data-mate/src/core/interfaces.ts:7
Extends
Iterable
<[number
,V
]>
Type Parameters
Type Parameter |
---|
V |
Properties
Property | Type | Defined in |
---|---|---|
length | number | data-mate/src/core/interfaces.ts:9 |
size | number | data-mate/src/core/interfaces.ts:10 |
Methods
[iterator]()
[iterator]():
IterableIterator
<[number
,V
]>
Defined in: data-mate/src/core/interfaces.ts:18
Returns
IterableIterator
<[number
, V
]>
Overrides
Iterable.[iterator]
entries()
entries():
IterableIterator
<[number
,V
]>
Defined in: data-mate/src/core/interfaces.ts:17
Returns
IterableIterator
<[number
, V
]>
forEach()
forEach(
callback
,scope
?):void
Defined in: data-mate/src/core/interfaces.ts:14
Parameters
Parameter | Type |
---|---|
callback | (value , key , set ) => void |
scope ? | any |
Returns
void
get()
get(
key
):undefined
|V
Defined in: data-mate/src/core/interfaces.ts:13
Parameters
Parameter | Type |
---|---|
key | number |
Returns
undefined
| V
has()
has(
key
):boolean
Defined in: data-mate/src/core/interfaces.ts:12
Parameters
Parameter | Type |
---|---|
key | number |
Returns
boolean
inspect()
inspect():
any
Defined in: data-mate/src/core/interfaces.ts:19
Returns
any
keys()
keys():
IterableIterator
<number
>
Defined in: data-mate/src/core/interfaces.ts:15
Returns
IterableIterator
<number
>
values()
values():
IterableIterator
<V
>
Defined in: data-mate/src/core/interfaces.ts:16
Returns
IterableIterator
<V
>