Class AtomContainerComparatorBy2DCenter
java.lang.Object
org.openscience.cdk.tools.manipulator.AtomContainerComparatorBy2DCenter
- All Implemented Interfaces:
Comparator<IAtomContainer>
Compares two IAtomContainers based on their 2D position.
Implemented specifically to be used in JChemPaint.
- Author:
- Mark Rijnbeek
- Source code:
- main
- Belongs to CDK module:
- standard
- Created on:
- 2009-10-14
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
Compare two AtomContainers based on their 2D position.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
AtomContainerComparatorBy2DCenter
public AtomContainerComparatorBy2DCenter()
-
-
Method Details
-
compare
Compare two AtomContainers based on their 2D position.- Specified by:
compare
in interfaceComparator<IAtomContainer>
- See Also:
-