dpt.symbtab
Class JavaHashtable

java.lang.Object
  |
  +--java.util.Dictionary
        |
        +--java.util.Hashtable
              |
              +--dpt.symbtab.JavaHashtable

class JavaHashtable
extends java.util.Hashtable

An extension of the java.util.Hashtable that is used to add some simple looup and type resolution

See Also:
Serialized Form

Field Summary
private static int CLASS
           
private static int EITHER
           
private static int INTERFACE
           
private  boolean resolving
          prevent nested resolutions...
 
Fields inherited from class java.util.Hashtable
count, ENTRIES, entrySet, KEYS, keySet, loadFactor, modCount, serialVersionUID, table, threshold, values, VALUES
 
Constructor Summary
(package private) JavaHashtable()
          Constructor to create a new java hash table
 
Method Summary
(package private)  java.util.Vector GetAllItems()
           
(package private)  java.util.Vector GetListItems(int TypID, java.lang.String modifier)
          Write information about each element in the hash table to the report
(package private)  java.lang.String GetLocation(int nTyp, java.lang.String sName)
          Write information about each element in the hash table to the report
(package private)  java.lang.String GetStringItems(int nTyp)
          Write information about each element in the hash table to the report
(package private)  void list(IndentingPrintWriter out)
          List the names of all elements in the hashtable
(package private)  void listIndented(IndentingPrintWriter out, java.lang.String title)
          list the names of all elements in the hashtable, but first print a title for the section and indent the following lines
(package private)  java.lang.String listToString()
          List the names of all elements in the hashtable
(package private)  void report(IndentingPrintWriter out)
          Write information about each element in the hash table to the report
(package private)  void reportIndented(IndentingPrintWriter out, java.lang.String title)
          Write information about each element in the hash table to the report, but first write a header line for this section and indent
(package private)  void resolveTypes(SymbolTable symbolTable)
          Resolve the types of dummy elements in the hash table
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, readObject, rehash, remove, size, toString, values, writeObject
 
Methods inherited from class java.lang.Object
, finalize, getClass, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

resolving

private boolean resolving
prevent nested resolutions...

CLASS

private static final int CLASS

INTERFACE

private static final int INTERFACE

EITHER

private static final int EITHER
Constructor Detail

JavaHashtable

JavaHashtable()
Constructor to create a new java hash table
Method Detail

list

void list(IndentingPrintWriter out)
List the names of all elements in the hashtable

listToString

java.lang.String listToString()
List the names of all elements in the hashtable

listIndented

void listIndented(IndentingPrintWriter out,
                  java.lang.String title)
list the names of all elements in the hashtable, but first print a title for the section and indent the following lines

GetLocation

java.lang.String GetLocation(int nTyp,
                             java.lang.String sName)
Write information about each element in the hash table to the report

GetStringItems

java.lang.String GetStringItems(int nTyp)
Write information about each element in the hash table to the report

GetAllItems

java.util.Vector GetAllItems()

GetListItems

java.util.Vector GetListItems(int TypID,
                              java.lang.String modifier)
Write information about each element in the hash table to the report

report

void report(IndentingPrintWriter out)
Write information about each element in the hash table to the report

reportIndented

void reportIndented(IndentingPrintWriter out,
                    java.lang.String title)
Write information about each element in the hash table to the report, but first write a header line for this section and indent

resolveTypes

void resolveTypes(SymbolTable symbolTable)
Resolve the types of dummy elements in the hash table