Package org.openscience.cdk.interfaces
Interface ILonePair
-
- All Superinterfaces:
Cloneable
,ICDKObject
,IChemObject
,IElectronContainer
- All Known Implementing Classes:
DebugLonePair
,LonePair
,LonePair
public interface ILonePair extends IElectronContainer
A LonePair is an orbital primarily located with one Atom, containing two electrons.- Source code:
- main
- Belongs to CDK module:
- interfaces
- Keywords:
- orbital, lone-pair
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
contains(IAtom atom)
Returns true if the given atom participates in this lone pair.IAtom
getAtom()
Returns the associated Atom.void
setAtom(IAtom atom)
Sets the associated Atom.-
Methods inherited from interface org.openscience.cdk.interfaces.ICDKObject
getBuilder
-
Methods inherited from interface org.openscience.cdk.interfaces.IChemObject
addListener, addProperties, clone, getFlag, getFlags, getFlagValue, getID, getListenerCount, getNotification, getProperties, getProperty, getProperty, notifyChanged, notifyChanged, removeListener, removeProperty, setFlag, setFlags, setID, setNotification, setProperties, setProperty, toString
-
Methods inherited from interface org.openscience.cdk.interfaces.IElectronContainer
getElectronCount, setElectronCount
-
-
-
-
Method Detail
-
getAtom
IAtom getAtom()
Returns the associated Atom.- Returns:
- the associated Atom.
- See Also:
setAtom(org.openscience.cdk.interfaces.IAtom)
-
setAtom
void setAtom(IAtom atom)
Sets the associated Atom.- Parameters:
atom
- the Atom this lone pair will be associated with- See Also:
getAtom()
-
contains
boolean contains(IAtom atom)
Returns true if the given atom participates in this lone pair.- Parameters:
atom
- The atom to be tested if it participates in this bond- Returns:
- true if this lone pair is associated with the atom
-
-