Package org.biojava3.core.sequence
Class CDSComparator
java.lang.Object
org.biojava3.core.sequence.CDSComparator
- All Implemented Interfaces:
Comparator<CDSSequence>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcompare(CDSSequence o1, CDSSequence o2) Used to sort two CDSSequences where Negative Strand makes it toughMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
comparein interfaceComparator<CDSSequence>- Parameters:
o1-o2-- Returns:
- val
-