Class ChemicalReactionParser.Formula
java.lang.Object
org.episteme.natural.chemistry.ChemicalReactionParser.Formula
- Enclosing class:
ChemicalReactionParser
Represents a parsed chemical formula.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintgetState()Returns the total count of each element (coefficient Ã subscripts).voidsetCoefficient(int c) toString()
-
Constructor Details
-
Formula
-
-
Method Details
-
getOriginal
-
getElements
-
getCoefficient
public int getCoefficient() -
setCoefficient
public void setCoefficient(int c) -
getState
-
getCharge
public int getCharge() -
getTotalElements
-
toString
-