wt.tools.xref.containers
Class PackageHashtable

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

public class PackageHashtable
extends Object
implements Serializable

This container is used to store Package objects. The container is KEYed by package name and the VALUE contains a Package object.

See Also:
Serialized Form

Field Summary
(package private)  Hashtable d_hashtable
           
 
Constructor Summary
PackageHashtable()
           
 
Method Summary
 Package addPackage(String packageName)
          This method add's the specified packageName to this container.
 boolean containsKey(String packageName)
           
 Package getPackage(String packageName)
           
 Enumeration keys()
           
 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

PackageHashtable

public PackageHashtable()
Method Detail

containsKey

public boolean containsKey(String packageName)

keys

public Enumeration keys()

size

public int size()

addPackage

public Package addPackage(String packageName)
This method add's the specified packageName to this container.


getPackage

public Package getPackage(String packageName)
                   throws Exception
Throws:
Exception