Package org.jmol.export
Class UseTable
- java.lang.Object
-
- java.util.Dictionary<K,V>
-
- java.util.Hashtable<String,String>
-
- org.jmol.export.UseTable
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) String
getDef(String key)
This Hashtable contains references to _n where n is a number.(package private) boolean
getDefRet(String key, String[] ret)
Used by JSExporter for WebGL-
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 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)
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"
-
-