Ejemplo n.º 1
0
 void set2a(SmilesAtom atom1, SmilesAtom atom2) {
   if (atom1 != null) {
     this.atom1 = atom1;
     atom1.addBond(this);
   }
   if (atom2 != null) {
     this.atom2 = atom2;
     atom2.isFirst = false;
     atom2.addBond(this);
   }
 }
Ejemplo n.º 2
0
 void setAtom2(SmilesAtom atom) {
   this.atom2 = atom;
   if (atom2 != null) {
     // NO! could be after . as in .[C@H]12      atom2.isFirst = false;
     atom.addBond(this);
   }
 }