[top][index]
search for:

HashTable # Thing -- get value from hash table

Synopsis:

  • Operator: # -- length, or access to elements
  • Input:
  • an instance of class HashTable.
  • an instance of class Thing.
  • x#i -- provides the value associated to the key i in the hash table x.

    Assignment to x#i can change the value if x is mutable.

    i1 : x = new MutableHashTable

    o1 = MutableHashTable{...}

    o1 : MutableHashTable
    i2 : x#i = p

    o2 = p

    o2 : Symbol
    i3 : x#i

    o3 = p

    o3 : Symbol

    See also:

  • HashTable #? Thing -- check for value in hash table
  • hashing

  • [top][index]
    search for: