Package org.biojava.nbio.core.sequence
Class CDSComparator
- java.lang.Object
 - 
- org.biojava.nbio.core.sequence.CDSComparator
 
 
- 
- All Implemented Interfaces:
 Serializable,Comparator<CDSSequence>
public class CDSComparator extends Object implements Comparator<CDSSequence>, Serializable
- See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description CDSComparator() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompare(CDSSequence o1, CDSSequence o2)Used to sort two CDSSequences where Negative Strand makes it tough- 
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 Detail
- 
CDSComparator
public CDSComparator()
 
 - 
 
- 
Method Detail
- 
compare
public int compare(CDSSequence o1, CDSSequence o2)
Used to sort two CDSSequences where Negative Strand makes it tough- Specified by:
 comparein interfaceComparator<CDSSequence>- Parameters:
 o1-o2-- Returns:
 - val
 
 
 - 
 
 -