HashTable.firstIter

Returns an iterator pointing to the first entry of the table.

Arguments

None

Return values

iterator
is a HashTableIterator pointing to the first entry.

Complexity

Constant

Example

"sl/hashTable" useFile a: HashTable; 35 "element" a.insert 0 "ZERO" a.insert 34 "element" a.insert -25 "element" a.insert 19 "nineteen" a.insert 34n8 135 a.insert 32 { a:0; b:1; } a.insert a.firstIter.get print
Output:
{ key: 35; value: "element"; }