public interface IReactionSet extends IChemObject
| Modifier and Type | Method and Description | 
|---|---|
| void | addReaction(IReaction reaction)Adds an reaction to this container. | 
| IReaction | getReaction(int number)Returns the Reaction at position  numberin the
 container. | 
| int | getReactionCount()Returns the number of Reactions in this Container. | 
| boolean | isEmpty()Returns true if this IReactionSet is empty. | 
| Iterable<IReaction> | reactions()Returns the  Iterableover Reactions of this container. | 
| void | removeAllReactions()Removes all reactions from this set. | 
| void | removeReaction(int pos)Remove a reaction from this set. | 
| void | removeReaction(IReaction relevantReaction)Removes all instances of a reaction from this IReactionSet. | 
addListener, addProperties, clone, getFlag, getFlags, getFlagValue, getID, getListenerCount, getNotification, getProperties, getProperty, getProperty, notifyChanged, notifyChanged, removeListener, removeProperty, setFlag, setFlags, setID, setNotification, setProperties, setProperty, toStringgetBuildervoid addReaction(IReaction reaction)
reaction - The reaction to be added to this containervoid removeReaction(int pos)
pos - The position of the reaction to be removed.IReaction getReaction(int number)
number in the
 container.number - The position of the Reaction to be returnednumberIterable<IReaction> reactions()
Iterable over Reactions of this container.Iterable over Reactions of this containerint getReactionCount()
void removeAllReactions()
void removeReaction(IReaction relevantReaction)
relevantReaction - the reaction to removeboolean isEmpty()
Copyright © 2017. All Rights Reserved.