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
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
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 © 2022. All rights reserved.