MutableHashTable -- the class of all mutable hash tables
The type MutableHashTable is a member of the class Type.
Each object of class MutableHashTable is called a mutable hash table.
Each mutable hash table is also a member of class HashTable.
More general types (whose methods may also apply) :
Types of mutable hash table :
A mutable hash table is a type of hash table whose entries can be changed.
Normally the entries in a mutable hash table are not printed, to prevent
infinite loops in the printing routines. To print them out, use
peek.
i1 : x = new MutableHashTable
o1 = MutableHashTable{...}
o1 : MutableHashTable |
i2 : scan(0 .. 30, i -> x#i = i^2) |
i3 : x # 20
o3 = 400 |
i4 : x #? 40
o4 = false |
See also:
Methods for using a mutable hash table :
Fixed objects of class MutableHashTable :