wt.tools.xref.containers
Class ClassInterfaceHashtable

java.lang.Object
  extended bywt.tools.xref.containers.ClassInterfaceHashtable
All Implemented Interfaces:
Serializable

public class ClassInterfaceHashtable
extends Object
implements Serializable

This Hashtable is KEYed by classInterfaceName and the VALUE contains a ClassInterface. This container does not extend java.util.Hashtable because I wanted to control exactly which methods are available to the instantiators.

See Also:
Serialized Form

Field Summary
(package private)  Hashtable d_hashtable
           
 
Constructor Summary
ClassInterfaceHashtable()
           
 
Method Summary
 boolean containsKey(String classInterfaceName)
           
 Enumeration elements()
           
 ClassInterface get(String name)
           
 Vector getVector(int objectType)
           
 Enumeration keys()
           
 ClassInterface put(String classInterfaceName)
           
 void put(String name, ClassInterface theClassInterface)
           
 ClassInterface put(String classInterfaceName, int objectType)
           
(package private)  int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

d_hashtable

Hashtable d_hashtable
Constructor Detail

ClassInterfaceHashtable

public ClassInterfaceHashtable()
Method Detail

size

int size()

keys

public Enumeration keys()

elements

public Enumeration elements()

containsKey

public boolean containsKey(String classInterfaceName)

getVector

public Vector getVector(int objectType)

get

public ClassInterface get(String name)
                   throws Exception
Throws:
Exception

put

public void put(String name,
                ClassInterface theClassInterface)

put

public ClassInterface put(String classInterfaceName,
                          int objectType)

put

public ClassInterface put(String classInterfaceName)
                   throws Exception
Throws:
Exception