Constructs a qualified hashtable that will use the provided allocator object. For immutable objects, a RCISharedAllocator must be supplied.
Constructs a qualified hashtable out of an associative array. Because no allocator was provided, the hashtable will use the GCAllocator.std.experimental.allocator.gc_allocator..
Constructs a qualified hashtable out of an associative array that will use the provided allocator object. For immutable objects, a RCISharedAllocator must be supplied.
Removes all the elements in the current hashtable.
Check if the hashtable is empty.
Provide access to the first value in the hashtable. The user must check that the hashtable isn't empty, prior to calling this function. There is no guarantee of the order of the values, as they are placed in the hashtable based on the result of the hash function.
Get the value corresponding to the given key; if it doesn't exist return nullValue.
Insert the (key, value) pairs of an associative array into the hashtable.
Get an array with the existing key-value pairs in the hashtable.
Get an array with the existing keys in the hashtable.
Returns number of key-value pairs.
Assign rhs to this hashtable. The current hashtable will now become another reference to rhs, unless rhs is null, in which case the current hashtable will become empty. If rhs refers to the current hashtable nothing will happen.
Get a Nullable!V corresponding to the given key index.
Assign val to the element corresponding to key. If there isn't such a value, return a V.init wrapped inside a Nullable.
Assign to the element corresponding to key the result of applying op to the current value. If there isn't such a value, return a V.init wrapped inside a Nullable.
Apply a unary operation to the value corresponding to key. If there isn't such a value, return a V.init wrapped inside a Nullable.
Returns number of buckets.
Get an array with the existing values in the hashtable.