public class LigandComparison extends java.lang.Object implements Comparison
Constructor and Description |
---|
LigandComparison(java.lang.Integer order,
Descriptor.Type type)
Construct a new ligand comparison with order and type.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getOrder()
Access the order of the comparison between two ligands.
|
Descriptor.Type |
getType()
Access the type of the comparison.
|
public LigandComparison(java.lang.Integer order, Descriptor.Type type)
order
- the order of two ligandstype
- the type of the comparisonPriorityRule
,
Comparator
public java.lang.Integer getOrder()
Comparison
Comparator
. Negative value indicates the first ligand ranks lower then second whilst a positive
value indicated the second ligand ranks lower then the first. A value of 0 indicates the ligands order equally.getOrder
in interface Comparison
Comparator
public Descriptor.Type getType()
Comparison
getType
in interface Comparison