public class DebugAtomParity extends AtomParity implements IAtomParity
Constructor and Description |
---|
DebugAtomParity(IAtom centralAtom,
IAtom first,
IAtom second,
IAtom third,
IAtom fourth,
int parity) |
Modifier and Type | Method and Description |
---|---|
IAtom |
getAtom()
Returns the atom for which this parity is defined.
|
int |
getParity()
Returns the parity value.
|
IAtom[] |
getSurroundingAtoms()
Returns the four atoms that define the stereochemistry for
this parity.
|
IAtomParity |
map(Map<IAtom,IAtom> atoms,
Map<IBond,IBond> bonds)
Map the atoms/bonds in this instance to a new stereo element using the
provided atom/bond mapping.
|
clone, getBuilder, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getBuilder
public IAtom getAtom()
AtomParity
getAtom
in interface IAtomParity
getAtom
in class AtomParity
public IAtom[] getSurroundingAtoms()
AtomParity
getSurroundingAtoms
in interface IAtomParity
getSurroundingAtoms
in class AtomParity
@TestMethod(value="testMap_Map_Map,testMap_Null_Map,testMap_Map_Map_NullElement,testMap_Map_Map_EmptyMapping") public IAtomParity map(Map<IAtom,IAtom> atoms, Map<IBond,IBond> bonds)
IStereoElement
map
in interface IAtomParity
map
in interface IStereoElement
map
in class AtomParity
atoms
- non-null atom mapping, used to convert the original atoms to their mapped
counterpartsbonds
- non-null bond mapping, used to convert the original bonds to their mapped
counterpartspublic int getParity()
AtomParity
getParity
in interface IAtomParity
getParity
in class AtomParity