edu.rice.cs.javalanglevels
Class Symboltable

java.lang.Object
  extended by java.util.Dictionary<K,V>
      extended by java.util.Hashtable<String,SymbolData>
          extended by edu.rice.cs.javalanglevels.Symboltable
All Implemented Interfaces:
Serializable, Cloneable, Map<String,SymbolData>

public class Symboltable
extends Hashtable<String,SymbolData>

This class extends Hashtable so that we can have extra functionality in the put function. A Symboltable is specifically a Hashtable of Strings to SymbolData. The put function checks to see if the specified SymbolData is already in the table. If so, it simply updates its fields.

See Also:
Serialized Form

Constructor Summary
Symboltable()
           
 
Method Summary
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Symboltable

public Symboltable()