Package org.biojava.nbio.core.sequence
Class CDSComparator
java.lang.Object
org.biojava.nbio.core.sequence.CDSComparator
- All Implemented Interfaces:
Comparator<CDSSequence>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
compare
(CDSSequence o1, CDSSequence o2) Used to sort two CDSSequences where Negative Strand makes it toughMethods 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
-
CDSComparator
public CDSComparator()
-
-
Method Details
-
compare
Used to sort two CDSSequences where Negative Strand makes it tough- Specified by:
compare
in interfaceComparator<CDSSequence>
- Parameters:
o1
-o2
-- Returns:
- val
-