public class SimpleSequenceIntervalFirstPosComparator extends java.lang.Object implements java.util.Comparator<SimpleSequenceInterval>
SimpleSequenceInterval
objects simply by their first (start) position.
(Note that SimpleSequenceInterval.compareTo(SimpleSequenceInterval)
) also takes the second (end)
position into account.)Constructor and Description |
---|
SimpleSequenceIntervalFirstPosComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(SimpleSequenceInterval o1,
SimpleSequenceInterval o2) |
public SimpleSequenceIntervalFirstPosComparator()
public int compare(SimpleSequenceInterval o1, SimpleSequenceInterval o2)
compare
in interface java.util.Comparator<SimpleSequenceInterval>