org.biojava3.core.sequence
Class ExonComparator

java.lang.Object
  extended by org.biojava3.core.sequence.ExonComparator
All Implemented Interfaces:
Comparator<ExonSequence>

public class ExonComparator
extends Object
implements Comparator<ExonSequence>

Sort Exon where it is a little confusing if exons shoud always be ordered left to right where a negative stranded gene should go the other direction. Need to think about this?

Author:
Scooter Willis

Constructor Summary
ExonComparator()
           
 
Method Summary
 int compare(ExonSequence o1, ExonSequence o2)
           
 
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
 

Constructor Detail

ExonComparator

public ExonComparator()
Method Detail

compare

public int compare(ExonSequence o1,
                   ExonSequence o2)
Specified by:
compare in interface Comparator<ExonSequence>