public interface ISingleElectron extends IElectronContainer
AtomContainer radical = new AtomContainer(); Atom carbon = new Atom("C"); carbon.setImplicitHydrogens(3); radical.addElectronContainer(new SingleElectron(carbon));
Modifier and Type | Method and Description |
---|---|
boolean |
contains(IAtom atom)
Returns true if the given atom participates in this SingleElectron.
|
IAtom |
getAtom()
Returns the associated Atom.
|
void |
setAtom(IAtom atom)
Sets the associated Atom.
|
getElectronCount, setElectronCount
addListener, clone, getFlag, getFlags, getID, getListenerCount, getNotification, getProperties, getProperty, notifyChanged, notifyChanged, removeListener, removeProperty, setFlag, setFlags, setID, setNotification, setProperties, setProperty, toString
getBuilder
IAtom getAtom()
setAtom(org.openscience.cdk.interfaces.IAtom)
void setAtom(IAtom atom)
atom
- the Atom this SingleElectron will be associated withgetAtom()
boolean contains(IAtom atom)
atom
- The atom to be tested if it participates in this bond