public class AtomContainerComparatorBy2DCenter extends Object implements Comparator<IAtomContainer>
Implemented specifically to be used in JChemPaint.
| Constructor and Description |
|---|
AtomContainerComparatorBy2DCenter() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(IAtomContainer a,
IAtomContainer b)
Compare two AtomContainers based on their 2D position.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic int compare(IAtomContainer a, IAtomContainer b)
compare in interface Comparator<IAtomContainer>Comparator.compare(java.lang.Object, java.lang.Object)Copyright © 2021. All rights reserved.