public class RacemateChecker extends AtomChecker
AtomChecker detecting asymmetric tetrahedral atoms without
specific stereochemistry.errorType, propertyChangeSupportPROPERTY_KEY_VALID| Constructor and Description |
|---|
RacemateChecker()
Creates a new RacemateChecker instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
check(Molecule molecule,
MolAtom component)
Checks if the component with index i has problem
|
protected StructureCheckerResult |
check1(Molecule molecule)
Iterates through the components and checks every component.
|
createResult, getComponent, getComponentCountinitializeaddPropertyChangeListener, addPropertyChangeListener, check, clone, cloneItem, convertResult, equals, expandMolecule, getDescription, getDescriptor, getEditorClassName, getErrorCode, getErrorDescription, getErrorType, getHelpText, getIcon, getLocalMenuName, getName, hashCode, isAvailable, isLicensed, isValid, propertyChange, removePropertyChangeListener, removePropertyChangeListener, setDescription, setHelpText, setIcon, setLicenseEnvironment, setLocalMenuName, setMoreErrorMessage, setName, setNoErrorMessage, setOneErrorMessage, toStringprotected StructureCheckerResult check1(Molecule molecule)
ComponentCheckerList. After the iteration if no problem occurred
the result is null otherwise the method creates a StructureCheckerResult
containing the atoms and bonds of the problematic components.check1 in class ComponentChecker<MolAtom>molecule - the Molecule instance to be checked for problemsStructureCheckerResult which contains all the indices of the problematic componentsprotected boolean check(Molecule molecule, MolAtom component)
ComponentCheckercheck in class ComponentChecker<MolAtom>molecule - is a Molecule instancecomponent - the current component to check