@TestClass(value="org.openscience.cdk.tools.ElementComparatorTest") public class ElementComparator extends Object implements Comparator
Constructor and Description |
---|
ElementComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(Object o1,
Object o2)
Returns a negative if o1 comes before o2 in a molecular formula,
returns zero if they are identical, and positive if o1 comes
after o2 in the formula.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals
@TestMethod(value="testCompare_Object_Object") public int compare(Object o1, Object o2)
compare
in interface Comparator