Reference page for HashMap
Contents
- Summary
- this = HashMap(arguments) /this = HashMap(arguments) is a constructor.
- this.get(arguments) Value corresponding to the key.
- this.get_all(arguments) Get all values in a 1xN array.
- HashMap/this.has_key(arguments) is a function.
- HashMap/this.index_of_key(arguments) is a function.
- HashMap/this.index_of_val(arguments) is a function.
- HashMap/this.keys(arguments) is a function.
- this.set(arguments) Set an item.
Summary
HashMap is a class. Documentation for HashMap doc HashMap
PROPERTIES
- HashMap/keys_array is a property.
- HashMap/ri is a property.
- HashMap/vals is a property.
METHODS
Class methods are listed below. Inherited methods are not included.
this = HashMap(arguments) /this = HashMap(arguments) is a constructor.
this.get(arguments) Value corresponding to the key.
value = get(this, key)
Returns the value corresponding to the key. Errors if not set.
this.get_all(arguments) Get all values in a 1xN array.
HashMap/this.has_key(arguments) is a function.
bl = has_key(this, key)
HashMap/this.index_of_key(arguments) is a function.
out = index_of_key(this, key)
HashMap/this.index_of_val(arguments) is a function.
out = index_of_val(this, val)
HashMap/this.keys(arguments) is a function.
ks = keys(this)
this.set(arguments) Set an item.
set(this, key, value)
Sets the (key, value) pair.