HashTable

HashMap implementation for Lua tables

Constructors

this
this()

Create a new hashmap

Members

Functions

find
HashTableIterator find(Value key)

Return an iterator starting at, and including, a given key

insert
void insert(Value key, Value value)

Insert a value at a given key

iterator
HashTableIterator iterator()

Return an iterator for this table

lookup
Value* lookup(Value key)

Lookup a value from a key

Variables

length
size_t length;

Get the number of key-value pairs in this map

Meta