Package org.jmol.export
Class UseTable
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<String,
String>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.Hashtable
clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keys, keySet, merge, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, size, toString, values
-
Field Details
-
iObj
private int iObj -
keyword
-
term
private char term
-
-
Constructor Details
-
UseTable
UseTable(String keyword)
-
-
Method Details
-
getDef
This Hashtable 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". If 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"
-
getDefRet
Used by JSExporter for WebGL- Parameters:
key
-ret
-- Returns:
- found
-