public interface IRing extends IAtomContainer
Modifier and Type | Method and Description |
---|---|
IRing |
clone()
Returns a deep clone of this IChemObject.
|
int |
getBondOrderSum()
Returns the sum of all bond orders in the ring.
|
IBond |
getNextBond(IBond bond,
IAtom atom)
Returns the next bond in order, relative to a given bond and atom.
|
int |
getRingSize()
Returns the number of atoms/bonds in this ring.
|
add, addAtom, 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, isEmpty, lonePairs, remove, removeAllBonds, removeAllElectronContainers, removeAllElements, removeAtom, removeAtom, removeAtomAndConnectedElectronContainers, removeBond, removeBond, removeBond, removeElectronContainer, removeElectronContainer, removeLonePair, removeLonePair, removeSingleElectron, removeSingleElectron, setAtom, setAtoms, setBonds, setStereoElements, singleElectrons, stereoElements
addListener, getFlag, getFlags, getID, getListenerCount, getNotification, getProperties, getProperty, notifyChanged, notifyChanged, removeListener, removeProperty, setFlag, setFlags, setID, setNotification, setProperties, setProperty, toString
getBuilder
stateChanged
int getRingSize()
IBond getNextBond(IBond bond, IAtom atom)
bond
- A bond for which an atom from a consecutive bond is soughtatom
- A atom from the bond above to assign a search directionint getBondOrderSum()
IRing clone() throws CloneNotSupportedException
IChemObject
clone
in interface IAtomContainer
clone
in interface IChemObject
CloneNotSupportedException
- if the IChemObject cannot be cloned