public interface IPolymer extends IAtomContainer
| Modifier and Type | Method and Description |
|---|---|
void |
addAtom(IAtom oAtom)
Adds the atom oAtom without specifying a Monomer.
|
void |
addAtom(IAtom oAtom,
IMonomer oMonomer)
Adds the atom oAtom to a specified Monomer.
|
IPolymer |
clone()
Returns a deep clone of this IChemObject.
|
IMonomer |
getMonomer(String cName)
Retrieve a Monomer object by specifying its name.
|
int |
getMonomerCount()
Return the number of monomers present in the Polymer.
|
Collection<String> |
getMonomerNames()
Returns a collection of the names of all
Monomers in this
polymer. |
void |
removeMonomer(String name)
Removes a particular monomer, specified by its name.
|
add, addBond, addBond, addBond, addElectronContainer, addLonePair, addLonePair, addSingleElectron, addSingleElectron, addStereoElement, atoms, bonds, contains, contains, contains, contains, contains, electronContainers, getAtom, getAtomCount, getAtomNumber, getBond, getBond, getBondCount, getBondNumber, getBondNumber, getBondOrderSum, getConnectedAtomsCount, getConnectedAtomsList, getConnectedBondsCount, getConnectedBondsCount, getConnectedBondsList, getConnectedElectronContainersList, getConnectedLonePairsCount, getConnectedLonePairsList, getConnectedSingleElectronsCount, getConnectedSingleElectronsList, getElectronContainer, getElectronContainerCount, getFirstAtom, getLastAtom, getLonePair, getLonePairCount, getLonePairNumber, getMaximumBondOrder, getMinimumBondOrder, getSingleElectron, getSingleElectronCount, getSingleElectronNumber, getTitle, indexOf, indexOf, indexOf, indexOf, isEmpty, lonePairs, remove, removeAllBonds, removeAllElectronContainers, removeAllElements, removeAtom, removeAtom, removeAtomAndConnectedElectronContainers, removeAtomOnly, removeAtomOnly, removeBond, removeBond, removeBond, removeElectronContainer, removeElectronContainer, removeLonePair, removeLonePair, removeSingleElectron, removeSingleElectron, setAtom, setAtoms, setBonds, setStereoElements, setTitle, singleElectrons, stereoElementsaddListener, addProperties, getFlag, getFlags, getFlagValue, getID, getListenerCount, getNotification, getProperties, getProperty, getProperty, notifyChanged, notifyChanged, removeListener, removeProperty, setFlag, setFlags, setID, setNotification, setProperties, setProperty, toStringgetBuilderstateChangedvoid addAtom(IAtom oAtom)
addAtom in interface IAtomContaineroAtom - The atom to addvoid addAtom(IAtom oAtom, IMonomer oMonomer)
oAtom - The atom to addoMonomer - The monomer the atom belongs toint getMonomerCount()
IMonomer getMonomer(String cName)
cName - The name of the monomer to look forCollection<String> getMonomerNames()
Monomers in this
polymer.Collection of all the monomer names.void removeMonomer(String name)
name - The name of the monomer to be removedIPolymer clone() throws CloneNotSupportedException
clone in interface IAtomContainerclone in interface IChemObjectCloneNotSupportedException - if the IChemObject cannot be clonedCopyright © 2017. All rights reserved.