Main Content

Map Containers

Objects with keys that index to values, where keys need not be integers

Store data values in aMapobject, which is a data structure that associates each value with a corresponding key. AMapobject is similar to a dictionary or associative array in that you can use keys to retrieve values from it. Keys can be numbers or text, providing more flexibility for data access than array indices.

Funzioni

containers.Map Object that maps unique keys to values
isKey Determine ifMapobject contains key
keys Return keys ofMapobject
remove Delete key-value pairs fromMapobject
values Return values ofMapobject

Argomenti