Class: Map

Rekord. Map

new Rekord.Map()

A Map has the key-to-value benefits of a map and iteration benefits of an array. This is especially beneficial when most of the time the contents of the structure need to be iterated and order doesn't matter (since removal performs a swap which breaks insertion order).

Members

indicesObject

An object of key to index mappings.

keysArray

An array of the keys in this map.

valuesArray

An array of the values in this map.