Hashtable.front

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.

struct Hashtable(K, V)
ref
front
(
this _
)
()

Return Value

Type: auto ref

a reference to the first found value.

Complexity: O(length).

Meta