Reference page for HashMap

Contents

Summary

HashMap is a class. Documentation for HashMap doc HashMap


PROPERTIES


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.