Searched refs:atomTable (Results 1 - 1 of 1) sorted by relevance

/openjdk7/jdk/src/share/demo/applets/MoleculeViewer/
H A DXYZApp.java75 static final Map<String, Atom> atomTable = new HashMap<String, Atom>(); field in class:XYZChemModel
79 atomTable.put("c", new Atom(0, 0, 0));
80 atomTable.put("h", new Atom(210, 210, 210));
81 atomTable.put("n", new Atom(0, 0, 255));
82 atomTable.put("o", new Atom(255, 0, 0));
83 atomTable.put("p", new Atom(255, 0, 255));
84 atomTable.put("s", new Atom(255, 255, 0));
85 atomTable.put("hn", new Atom(150, 255, 150)); /* !!*/
168 Atom a = atomTable.get(name.toLowerCase());

Completed in 30 milliseconds