|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ChemRxn
This interface is used to represent chemical reactions. A chemical reaction is composed of reactants and products, which are represented as linear combinations of chemical species.
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Indicates if the provided object is "equal to" this chemical reaction. |
LinearComb<java.lang.String> |
getProducts()
Returns the products of this chemical reaction. |
LinearComb<java.lang.String> |
getReactants()
Returns the reactants of this chemical reaction. |
int |
hashCode()
Returns a content-based hash code for this chemical reaction. |
boolean |
isReversible()
Indicates if this chemical reaction is considered reversible. |
java.lang.String |
toString()
Returns an appropriate string representation of this chemical reaction. |
Method Detail |
---|
LinearComb<java.lang.String> getReactants()
LinearComb<java.lang.String> getProducts()
boolean isReversible()
true
if this reaction is reversible; false
otherwise.java.lang.String toString()
toString
in class java.lang.Object
boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the reference object with which to compare.
true
if this reaction is equal to the provided object;
false
otherwise.int hashCode()
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |