home *** CD-ROM | disk | FTP | other *** search
Modula Definition | 1994-09-22 | 487 b | 18 lines |
- DEFINITION MODULE HashTable;
- (*
- * This module implements a hash table with strings as keys.
- * It could easily be modified to have additional elements.
- *
- * Usage assumptions:
- * The calling module MUST have created a heap before calling these routines!!
- *
- *)
-
- (* Inserts a string into the hash table *)
- PROCEDURE InsertElem( Elem: ARRAY OF CHAR );
-
- (* Looks for a string in the hash table *)
- PROCEDURE LookupElem( Elem: ARRAY OF CHAR ): BOOLEAN;
-
- END HashTable.
-