private void breakBond ( IAtom atom , IAtomContainer molecule ) { Iterator < IBond > bonds = molecule . bonds ( ) . iterator ( ) ; while ( bonds . hasNext ( ) ) { IBond bond = ( IBond ) bonds . next ( ) ; if ( bond . contains ( atom ) ) { molecule . removeElectronContainer ( bond ) ; break ; } } }
Eliminates one bond of this atom from the molecule