|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsbrt.kernel.fba.AbstractExchangeRxn
public abstract class AbstractExchangeRxn
This class is a skeleton implementation of ExchangeRxn
.
Constructor Summary | |
---|---|
AbstractExchangeRxn(java.lang.String chemSpecies)
Constructs a new exchange reaction for the provided chemical species. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Returns obj == this . |
LinearComb<java.lang.String> |
getProducts()
Returns an empty linear combination. |
LinearComb<java.lang.String> |
getReactants()
Returns an empty linear combination. |
java.lang.String |
getSpecies()
Returns the chemical species associated with this exchange reaction. |
int |
hashCode()
Returns a content-based hash code for this exchange reaction. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface sbrt.kernel.fba.ChemRxn |
---|
isReversible, toString |
Constructor Detail |
---|
public AbstractExchangeRxn(java.lang.String chemSpecies)
chemSpecies
- the chemical species associated with this exchange reaction.
java.lang.IllegalArgumentException
- if an empty string is provided.Method Detail |
---|
public final java.lang.String getSpecies()
getSpecies
in interface ExchangeRxn
public LinearComb<java.lang.String> getReactants()
getReactants
in interface ChemRxn
public LinearComb<java.lang.String> getProducts()
getProducts
in interface ChemRxn
public boolean equals(java.lang.Object obj)
obj == this
.
equals
in interface ChemRxn
equals
in class java.lang.Object
obj
- the reference object with which to compare.
obj == this
.public int hashCode()
hashCode
in interface ChemRxn
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |