Logo Search packages:      
Sourcecode: cdk version File versions  Download package

void org::openscience::cdk::formula::MolecularFormulaSet::add ( IMolecularFormulaSet  formulaSet ) [inline, inherited]

Adds all molecularFormulas in the MolecularFormulaSet to this chemObject.

Parameters:
formulaSetThe MolecularFormulaSet

Implements org::openscience::cdk::interfaces::IMolecularFormulaSet.

Reimplemented in org::openscience::cdk::debug::DebugMolecularFormulaSet.

Definition at line 86 of file MolecularFormulaSet.java.

                                                       {
            for (IMolecularFormula mf : formulaSet.molecularFormulas()){
            addMolecularFormula(mf);
        }
        /*
             *  notifyChanged() is called by addAtomContainer()
             */
      }

Generated by  Doxygen 1.6.0   Back to index