The Dictionary module provides tools for working with key-value mappings in Nelson.
It supports creation and configuration of dictionaries with defined key and value types, querying and modifying entries, and managing the overall structure.
This module enables efficient storage, retrieval, and manipulation of data indexed by unique keys, making it ideal for associative arrays, lookups, and dynamic data management.
-
configureDictionary
Generate a dictionary with defined key and value types.
-
containers.Map
Object that maps unique keys to values.
-
dictionary
Object that maps unique keys to values.
-
disp
Display dictionary.
-
entries
Key-value pairs of dictionary.
-
insert
Add entries to a dictionary.
-
isConfigured
Check if dictionary has types assigned to keys and values.
-
isKey
Check if dictionary contains key
-
isequal
Determine whether dictionaries are equal.
-
keyHash
Create a hash code for a dictionary key.
-
keyMatch
Check whether two dictionary keys are same.
-
keys
Keys of dictionary.
-
lookup
Find value in dictionary by key.
-
numEntries
Number of key-value pairs in dictionary.
-
readdictionary
Read dictionary from file.
-
remove
Remove dictionary entries.
-
types
Types of dictionary keys and values.
-
values
Values of dictionary.
-
writedictionary
Write dictionary to file.