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;
            }
        }
    }
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

@param   atom  The atom one bond is eliminated of
@param   molecule  The molecule that contains the atom