Package ffx.potential.bonded
Class BondedTerm.BondedComparator
java.lang.Object
ffx.potential.bonded.BondedTerm.BondedComparator
- All Implemented Interfaces:
Comparator<BondedTerm>
- Enclosing class:
BondedTerm
-
Method Summary
Modifier and TypeMethodDescriptionintcompare(BondedTerm bondedTerm1, BondedTerm bondedTerm2) Sort using position in the naturalOrder list; fallback to alphabetical.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Method Details
-
compare
Sort using position in the naturalOrder list; fallback to alphabetical.- Specified by:
comparein interfaceComparator<BondedTerm>
-