public interface IMoleculeSet extends IAtomContainerSet
Modifier and Type | Method and Description |
---|---|
void |
add(IMoleculeSet moleculeSet)
Adds all molecules in the MoleculeSet to this container.
|
void |
addMolecule(IMolecule molecule)
Adds an IMolecule to this container.
|
IMolecule |
getMolecule(int number)
Returns the Molecule at position
number in the
container. |
int |
getMoleculeCount()
Returns the number of Molecules in this Container.
|
Iterable<IAtomContainer> |
molecules()
Returns the array of Molecules of this container.
|
void |
setMolecules(IMolecule[] molecules)
Sets the molecules in the IMoleculeSet, removing previously added
IMolecule's.
|
add, addAtomContainer, addAtomContainer, atomContainers, getAtomContainer, getAtomContainerCount, getMultiplier, getMultiplier, getMultipliers, isEmpty, removeAllAtomContainers, removeAtomContainer, removeAtomContainer, replaceAtomContainer, setMultiplier, setMultiplier, setMultipliers, sortAtomContainers
addListener, clone, getFlag, getFlags, getID, getListenerCount, getNotification, getProperties, getProperty, notifyChanged, notifyChanged, removeListener, removeProperty, setFlag, setFlags, setID, setNotification, setProperties, setProperty, toString
getBuilder
void addMolecule(IMolecule molecule)
molecule
- The molecule to be added to this containervoid add(IMoleculeSet moleculeSet)
moleculeSet
- The MoleculeSet to addvoid setMolecules(IMolecule[] molecules)
molecules
- New set of moleculesmolecules()
Iterable<IAtomContainer> molecules()
setMolecules(IMolecule[])
IMolecule getMolecule(int number)
number
in the
container.number
- The position of the Molecule to be returned.number
.int getMoleculeCount()