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) |
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 AtomContainerComparator()
public int compare(IAtomContainer o1, IAtomContainer o2)
compare
in interface Comparator<IAtomContainer>
Copyright © 2021. All rights reserved.