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, waitequalspublic int compare(IAtomContainer a, IAtomContainer b)
compare in interface Comparator<IAtomContainer>Comparator.compare(java.lang.Object, java.lang.Object)Copyright © 2017. All Rights Reserved.