Link Search Menu Expand Document

Summary

HashMap is a class.

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.

* HashMap/HashMap is a constructor.

* get Value corresponding to the key.

value = get(this, key)

Returns the value corresponding to the key. Errors if not set.

* get_all Get all values in a 1xN array.

* HashMap/has_key is a function.

bl = has_key(this, key)

* HashMap/index_of_key is a function.

out = index_of_key(this, key)

* HashMap/index_of_val is a function.

out = index_of_val(this, val)

* HashMap/keys is a function.

ks = keys(this)

* set Set an item.

set(this, key, value)

Sets the (key, value) pair.