6 public class Residue {
\r
7 Vector atoms = new Vector();
\r
13 public Residue(Vector atoms, int number, int count) {
\r
15 this.number = number;
\r
19 public myAtom findAtom(String name) {
\r
21 for (int i = 0; i < atoms.size(); i++) {
\r
22 if (((myAtom)atoms.elementAt(i)).name.equals(name)) {
\r
23 return (myAtom)atoms.elementAt(i);
\r