wt.tools.xref.containers
Class SpecContainer

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

public class SpecContainer
extends Object

This class is used as a master container for Spec objects: BaseTypeSpec PackageSpec ClassInterfaceSpec MethodSpec FieldSpec This container is KEY'd with String objects and the VALUE contains a Spec object.


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

Field Detail

d_hashtable

private Hashtable d_hashtable
Constructor Detail

SpecContainer

public SpecContainer()
Method Detail

size

public int size()

containsKey

public boolean containsKey(String specString)
Checks to see if this container contains an entry for the specified Type Name object or not.


put

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


get

public Spec get(String specString)

keys

public Enumeration keys()

values

public Enumeration values()

toString

public String toString()