public interface IChemFile extends IChemObject
IChemObject containing a number of ChemSequences. This is supposed to be the
top level container, which can contain all the concepts stored in a chemical
document| Modifier and Type | Method and Description |
|---|---|
void |
addChemSequence(IChemSequence chemSequence)
Adds an
IChemSequence to this container. |
Iterable<IChemSequence> |
chemSequences()
Returns the
Iterable to ChemSequences of this container. |
IChemSequence |
getChemSequence(int number)
Returns the ChemSequence at position
number in the container. |
int |
getChemSequenceCount()
Returns the number of ChemSequences in this Container.
|
void |
removeChemSequence(int pos)
Removes the IChemSequence at the given position from this container.
|
addListener, addProperties, clone, getFlag, getFlags, getFlagValue, getID, getListenerCount, getNotification, getProperties, getProperty, getProperty, notifyChanged, notifyChanged, removeListener, removeProperty, setFlag, setFlags, setID, setNotification, setProperties, setProperty, toStringgetBuildervoid addChemSequence(IChemSequence chemSequence)
IChemSequence to this container.chemSequence - The chemSequence to be added to this containerchemSequences()void removeChemSequence(int pos)
pos - Position of the IChemSequence to removechemSequences()Iterable<IChemSequence> chemSequences()
Iterable to ChemSequences of this container.Iterable to ChemSequences of this containeraddChemSequence(org.openscience.cdk.interfaces.IChemSequence)IChemSequence getChemSequence(int number)
number in the container.number - The position of the ChemSequence to be returned.number.addChemSequence(org.openscience.cdk.interfaces.IChemSequence)int getChemSequenceCount()
Copyright © 2017. All rights reserved.