private static class IncreasingStartIntervalSet.StartComparator extends Object implements Comparator<BasicInterval>
Note that this ordering is inconsistent with equals for objects of type
MappedBasicInterval
. It would consider two MappedBasicIntervals
with different containers the same if begin and end would match.
Modifier | Constructor and Description |
---|---|
private |
StartComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(BasicInterval b1,
BasicInterval b2) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
private StartComparator()
public int compare(BasicInterval b1, BasicInterval b2)
compare
in interface Comparator<BasicInterval>