[top][index]
search for:

keys HashTable -- keys used in a hash table

Synopsis:

  • Usage: x = keys t
  • Function: keys -- keys used in a hash table
  • Input:
  • t, an instance of class HashTable.
  • Output:
  • x, an instance of class List: a list of the keys occurring in the hash table t.
  • i1 : x = new HashTable from {a => 1, b => 2}

    o1 = HashTable{a => 1}
                   b => 2

    o1 : HashTable
    i2 : keys x

    o2 = {a, b}

    o2 : List


    [top][index]
    search for: