@TestClass(value="org.openscience.cdk.geometry.cip.rules.CIPLigandRuleTest") public class CIPLigandRule extends Object implements ISequenceSubRule<ILigand>
ILigand
s based on CIP sequences sub rules. The used CIP sub rules are:
MassNumberRule
AtomicNumberRule
Constructor and Description |
---|
CIPLigandRule() |
Modifier and Type | Method and Description |
---|---|
int |
compare(ILigand ligand1,
ILigand ligand2)
Compares two ligands according to the particular sequence sub rule.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals
@TestMethod(value="testCompare,testCompare_Identity,testOrder") public int compare(ILigand ligand1, ILigand ligand2)
compare
in interface Comparator<ILigand>
compare
in interface ISequenceSubRule<ILigand>
ligand1
- the first of the two ligands to compareligand2
- the second of the two ligands to compareCopyright © 2014. All Rights Reserved.