|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IAtomContainerSet
A set of AtomContainers.
| Method Summary | |
|---|---|
void |
add(IAtomContainerSet atomContainerSet)
Adds all atomContainers in the AtomContainerSet to this container. |
void |
addAtomContainer(IAtomContainer atomContainer)
Adds an atomContainer to this container. |
void |
addAtomContainer(IAtomContainer atomContainer,
double multiplier)
Adds an atomContainer to this container with the given multiplier. |
Iterable<IAtomContainer> |
atomContainers()
Get an Iterable for this AtomContainerSet. |
IAtomContainer |
getAtomContainer(int number)
Returns the AtomContainer at position number in the
container. |
int |
getAtomContainerCount()
Returns the number of AtomContainers in this Container. |
Double |
getMultiplier(IAtomContainer container)
Returns the multiplier of the given AtomContainer. |
Double |
getMultiplier(int number)
Returns the multiplier for the AtomContainer at position number in the
container. |
Double[] |
getMultipliers()
Returns an array of double with the stoichiometric coefficients of the products. |
void |
removeAllAtomContainers()
Removes all AtomContainer from this container. |
void |
removeAtomContainer(IAtomContainer atomContainer)
Removes an AtomContainer from this container. |
void |
removeAtomContainer(int pos)
Removes an AtomContainer from this container. |
void |
replaceAtomContainer(int position,
IAtomContainer container)
Replace the AtomContainer at a specific position (array has to be large enough). |
boolean |
setMultiplier(IAtomContainer container,
Double multiplier)
Sets the coefficient of a AtomContainer to a given value. |
void |
setMultiplier(int position,
Double multiplier)
Sets the coefficient of a AtomContainer to a given value. |
boolean |
setMultipliers(Double[] newMultipliers)
Sets the multipliers of the AtomContainers. |
void |
sortAtomContainers(Comparator<IAtomContainer> comparator)
Sort the AtomContainers using a provided Comparator. |
| Methods inherited from interface org.openscience.cdk.interfaces.IChemObject |
|---|
addListener, clone, getFlag, getFlags, getID, getListenerCount, getNotification, getProperties, getProperty, notifyChanged, notifyChanged, removeListener, removeProperty, setFlag, setFlags, setID, setNotification, setProperties, setProperty, toString |
| Methods inherited from interface org.openscience.cdk.interfaces.ICDKObject |
|---|
getBuilder |
| Method Detail |
|---|
void addAtomContainer(IAtomContainer atomContainer)
atomContainer - The atomContainer to be added to this containervoid removeAtomContainer(IAtomContainer atomContainer)
atomContainer - The atomContainer to be removed from this containervoid removeAllAtomContainers()
void removeAtomContainer(int pos)
pos - The position of the AtomContainer to be removed from this container
void replaceAtomContainer(int position,
IAtomContainer container)
position - position in array for AtomContainercontainer - the replacement AtomContainer
boolean setMultiplier(IAtomContainer container,
Double multiplier)
container - The AtomContainer for which the multiplier is setmultiplier - The new multiplier for the AtomContatiner
getMultiplier(IAtomContainer)
void setMultiplier(int position,
Double multiplier)
position - The position of the AtomContainer for which the multiplier is
set in [0,..]multiplier - The new multiplier for the AtomContatiner at
positiongetMultiplier(int)Double[] getMultipliers()
setMultipliers(java.lang.Double[])boolean setMultipliers(Double[] newMultipliers)
newMultipliers - The new multipliers for the AtomContainers in this set
getMultipliers()
void addAtomContainer(IAtomContainer atomContainer,
double multiplier)
atomContainer - The atomContainer to be added to this containermultiplier - The multiplier of this atomContainervoid add(IAtomContainerSet atomContainerSet)
atomContainerSet - The AtomContainerSetIterable<IAtomContainer> atomContainers()
IAtomContainer getAtomContainer(int number)
number in the
container.
number - The position of the AtomContainer to be returned.
number .Double getMultiplier(int number)
number in the
container.
number - The position of the multiplier of the AtomContainer to be returned.
number .setMultiplier(int, Double)Double getMultiplier(IAtomContainer container)
container - The AtomContainer for which the multiplier is given
setMultiplier(IAtomContainer, Double)int getAtomContainerCount()
void sortAtomContainers(Comparator<IAtomContainer> comparator)
comparator - defines the sorting method
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||