Package org.biojava.nbio.core.sequence
Class ExonComparator
- java.lang.Object
-
- org.biojava.nbio.core.sequence.ExonComparator
-
- All Implemented Interfaces:
Serializable
,Comparator<ExonSequence>
public class ExonComparator extends Object implements Comparator<ExonSequence>, Serializable
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
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ExonComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Constructor Detail
-
ExonComparator
public ExonComparator()
-
-
Method Detail
-
compare
public int compare(ExonSequence o1, ExonSequence o2)
- Specified by:
compare
in interfaceComparator<ExonSequence>
-
-