org.jmol.export
Class UseTable

java.lang.Object
  extended by java.util.Dictionary<K,V>
      extended by java.util.Hashtable
          extended by org.jmol.export.UseTable
All Implemented Interfaces:
Serializable, Cloneable, Map

 class UseTable
extends Hashtable


Field Summary
private  int iObj
           
private  String keyword
           
private  char term
           
 
Constructor Summary
UseTable(String keyword)
           
 
Method Summary
(package private)  String getDef(String key)
          Hashtable htDefs contains references to _n where n is a number.
 
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
 

Field Detail

iObj

private int iObj

keyword

private String keyword

term

private char term
Constructor Detail

UseTable

UseTable(String keyword)
Method Detail

getDef

String getDef(String key)
Hashtable htDefs contains references to _n where n is a number. we look up a key for anything and see if an object has been assigned. If it is there, we just return the phrase "USE _n". It it is not there, we return the DEF name that needs to be assigned. The calling method must then make that definition.

Parameters:
key -
Returns:
"_n" or "[keyword]_n"