@TestClass(value="org.openscience.cdk.reaction.ReactionChainTest") public class ReactionChain extends ReactionSet
Constructor and Description |
---|
ReactionChain() |
Modifier and Type | Method and Description |
---|---|
void |
addReaction(IReaction reaction,
int position)
Added a IReaction for this chain in position.
|
IReaction |
getReaction(int position)
Get the reaction of this chain reaction object at the position.
|
int |
getReactionStep(IReaction reaction)
Get the position of the reaction into this chain reaction object.
|
addReaction, clone, getReactionCount, isEmpty, reactions, removeAllReactions, removeReaction, removeReaction, stateChanged, toString
addListener, compare, getBuilder, getFlag, getFlags, getID, getListenerCount, getNotification, getProperties, getProperty, notifyChanged, notifyChanged, removeListener, removeProperty, setFlag, setFlags, setID, setNotification, setProperties, setProperty, shallowCopy
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
addListener, getFlag, getFlags, getID, getListenerCount, getNotification, getProperties, getProperty, notifyChanged, notifyChanged, removeListener, removeProperty, setFlag, setFlags, setID, setNotification, setProperties, setProperty
getBuilder
@TestMethod(value="testAddReaction_IReaction_int") public void addReaction(IReaction reaction, int position)
reaction
- The IReactionposition
- The position in this chain where the reaction is to be inserted@TestMethod(value="testGetReactionStep_IReaction") public int getReactionStep(IReaction reaction)
reaction
- The IReaction to look at@TestMethod(value="testGetReaction_int") public IReaction getReaction(int position)
getReaction
in interface IReactionSet
getReaction
in class ReactionSet
position
- The position of the IReaction in this chain to look for