@TestClass(value="org.openscience.cdk.tools.manipulator.AtomContainerComparatorTest") public class AtomContainerComparator extends Object implements Comparator<IAtomContainer>
Compares two IAtomContainers for order with the following criteria with decreasing priority:
If no difference can be found with the above criteria, the IAtomContainers are considered equal.
Constructor and Description |
---|
AtomContainerComparator()
Creates a new instance of AtomContainerComparator
|
Modifier and Type | Method and Description |
---|---|
int |
compare(IAtomContainer o1,
IAtomContainer o2) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals
public AtomContainerComparator()
@TestMethod(value="testCompare_Object_Object") public int compare(IAtomContainer o1, IAtomContainer o2)
compare
in interface Comparator<IAtomContainer>