/** * Returns an array of double with the stoichiometric coefficients * of the reactants. * * @return An array of double's containing the coefficients of the reactants * @see #setReactantCoefficients */ @Override public Double[] getReactantCoefficients() { return reactants.getMultipliers(); }
/** * Returns an array of double with the stoichiometric coefficients * of the products. * * @return An array of double's containing the coefficients of the products * @see #setProductCoefficients */ @Override public Double[] getProductCoefficients() { return products.getMultipliers(); }
/** * Returns an array of double with the stoichiometric coefficients * of the products. * * @return An array of double's containing the coefficients of the products * @see #setProductCoefficients */ @Override public Double[] getProductCoefficients() { return products.getMultipliers(); }
/** * Returns an array of double with the stoichiometric coefficients * of the reactants. * * @return An array of double's containing the coefficients of the reactants * @see #setReactantCoefficients */ @Override public Double[] getReactantCoefficients() { return reactants.getMultipliers(); }
/** * Returns an array of double with the stoichiometric coefficients * of the products. * * @return An array of double's containing the coefficients of the products * @see #setProductCoefficients */ @Override public Double[] getProductCoefficients() { return products.getMultipliers(); }
/** * Returns an array of double with the stoichiometric coefficients * of the reactants. * * @return An array of double's containing the coefficients of the reactants * @see #setReactantCoefficients */ @Override public Double[] getReactantCoefficients() { return reactants.getMultipliers(); }
/** * Returns an array of double with the stoichiometric coefficients * of the products. * * @return An array of double's containing the coefficients of the products * @see #setProductCoefficients */ @Override public Double[] getProductCoefficients() { return products.getMultipliers(); }
/** * Returns an array of double with the stoichiometric coefficients * of the reactants. * * @return An array of double's containing the coefficients of the reactants * @see #setReactantCoefficients */ @Override public Double[] getReactantCoefficients() { return reactants.getMultipliers(); }
@Test public void testGetMultipliers() { IAtomContainerSet som = (IAtomContainerSet) newChemObject(); som.addAtomContainer(som.getBuilder().newInstance(IAtomContainer.class), 1.0); Double[] multipliers = som.getMultipliers(); Assert.assertNotNull(multipliers); Assert.assertEquals(1, multipliers.length); }