Optional
joint: stringReadonly
[toProtected
_jointReadonly
sizethe number of elements in the Map.
Static
Readonly
[species]Protected
_setThe function overrides the delete method and joins the key array using a specified joint character before calling the super delete method.
An array of numbers that represents the key to be deleted.
The delete
method is returning the result of calling the delete
method on the superclass, with the
key
array joined together using the _joint
property.
The "has" function overrides the base class's "has" function and checks if a key exists in the map by joining the key array with a specified delimiter.
The parameter "key" is an array of numbers.
The has
method is being overridden to return the result of calling the has
method of the superclass
(super.has
) with the key
array joined together using the _joint
property.
The function overrides the set method of a Map object to convert the key from an array to a string using a specified delimiter before calling the original set method.
The key parameter is an array of numbers.
The value parameter is the value that you want to associate with the specified key.
The set
method is returning the result of calling the set
method of the superclass
(super.set(key.join(this._joint), value)
).
Generated using TypeDoc
data-structure-typed
Author
Tyler Zeng
Copyright
Copyright (c) 2022 Tyler Zeng zrwusa@gmail.com
License
MIT License