Interface SymbolTable


public interface SymbolTable

Symbol table interface specification.


Method Summary
 void insert(java.lang.String name, java.lang.Object value)
          Makes an entry in the symbol table.
 java.lang.Object lookup(java.lang.String name)
          Looks up an entry in the symbol table.
 

Method Detail

insert

public void insert(java.lang.String name,
                   java.lang.Object value)
Makes an entry in the symbol table.

Parameters:
name - name for entry
value - value in entry

lookup

public java.lang.Object lookup(java.lang.String name)
Looks up an entry in the symbol table.

Parameters:
name - name for entry
Returns:
value in entry, or null if none found