public class Mapping extends ChemObject implements Serializable, Cloneable, IMapping
| Constructor and Description |
|---|
Mapping(IChemObject objectOne,
IChemObject objectTwo)
Constructs an unconnected lone pair.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Clones this
Mapping and the mapped IChemObjects. |
IChemObject |
getChemObject(int pos)
Retrieves the first or second of the related IChemObjects.
|
Iterable<IChemObject> |
relatedChemObjects()
Returns an Iterable to the two IChemObjects.
|
addListener, addProperties, compare, getBuilder, getFlag, getFlags, getFlagValue, getID, getListenerCount, getNotification, getProperties, getProperty, getProperty, notifyChanged, notifyChanged, removeListener, removeProperty, setFlag, setFlags, setID, setNotification, setProperties, setProperty, shallowCopyequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddListener, addProperties, getFlag, getFlags, getFlagValue, getID, getListenerCount, getNotification, getProperties, getProperty, getProperty, notifyChanged, notifyChanged, removeListener, removeProperty, setFlag, setFlags, setID, setNotification, setProperties, setProperty, toStringgetBuilderpublic Mapping(IChemObject objectOne, IChemObject objectTwo)
objectOne - The first IChemObject of the mappingobjectTwo - The second IChemObject of the mappingpublic Iterable<IChemObject> relatedChemObjects()
relatedChemObjects in interface IMappingpublic IChemObject getChemObject(int pos)
getChemObject in interface IMappingpos - The position of the IChemObject.public Object clone() throws CloneNotSupportedException
Mapping and the mapped IChemObjects.clone in interface IChemObjectclone in class ChemObjectCloneNotSupportedException - if the IChemObject cannot be clonedCopyright © 2021. All rights reserved.