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, addProperties, compare, getBuilder, getFlag, getFlags, getFlagValue, getID, getListenerCount, getNotification, getProperties, getProperty, getProperty, notifyChanged, notifyChanged, removeListener, removeProperty, setFlag, setFlags, setID, setNotification, setProperties, setProperty, shallowCopy
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addListener, addProperties, getFlag, getFlags, getFlagValue, getID, getListenerCount, getNotification, getProperties, getProperty, getProperty, notifyChanged, notifyChanged, removeListener, removeProperty, setFlag, setFlags, setID, setNotification, setProperties, setProperty
getBuilder
public void addReaction(IReaction reaction, int position)
reaction
- The IReactionposition
- The position in this chain where the reaction is to be insertedpublic int getReactionStep(IReaction reaction)
reaction
- The IReaction to look atpublic IReaction getReaction(int position)
getReaction
in interface IReactionSet
getReaction
in class ReactionSet
position
- The position of the IReaction in this chain to look forCopyright © 2021. All rights reserved.