EDU.cmu.cs.coral.util
Class TBDictionary

java.lang.Object
  |
  +--java.util.Dictionary
        |
        +--java.util.Hashtable
              |
              +--EDU.cmu.cs.coral.util.TBDictionary

public class TBDictionary
extends java.util.Hashtable

This is like a hashtable but we can specify the type right from the table (instead of Object like Hashtable does)

Copyright (c)1999 John Sweeney and Carnegie Mellon University

See Also:
Serialized Form

Constructor Summary
TBDictionary()
           
 
Method Summary
 double getDouble(java.lang.String key)
          get the double referenced by key
 int getInt(java.lang.String key)
          get the int referenced by key
 java.lang.String getString(java.lang.String key)
          get the string referenced by key
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TBDictionary

public TBDictionary()
Method Detail

getInt

public int getInt(java.lang.String key)
get the int referenced by key

getDouble

public double getDouble(java.lang.String key)
get the double referenced by key

getString

public java.lang.String getString(java.lang.String key)
get the string referenced by key