wt.tools.xref.containers
Class MasterContainer

java.lang.Object
  extended bywt.tools.xref.containers.MasterContainer

public class MasterContainer
extends Object

This class is used as a master container for: Package, ClassInterface, Method, Field and Type objects. This container is KEY'd with Spec objects and the VALUE contains a Hashtable of WUObjects.


Field Summary
private  Hashtable d_hashtable
           
 
Constructor Summary
MasterContainer()
           
 
Method Summary
 boolean containsKey(Spec theSpec)
          Checks to see if this container contains an entry for the specified Spec object or not.
 WUObject get(Spec theSpec)
           
 Enumeration keys()
           
 void put(Spec theSpec, WUObject theObject)
          Insert the specified WUObject into the container
 int size()
           
 Enumeration values()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

d_hashtable

private Hashtable d_hashtable
Constructor Detail

MasterContainer

public MasterContainer()
Method Detail

size

public int size()

containsKey

public boolean containsKey(Spec theSpec)
Checks to see if this container contains an entry for the specified Spec object or not.


put

public void put(Spec theSpec,
                WUObject theObject)
Insert the specified WUObject into the container


get

public WUObject get(Spec theSpec)

keys

public Enumeration keys()

values

public Enumeration values()