wt.tools.xref.containers
Class SpecContainer
java.lang.Object
wt.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.
d_hashtable
private Hashtable d_hashtable
SpecContainer
public SpecContainer()
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()