private static class IncreasingEndMappedIntervalSet.EndComparator extends Object implements Comparator<BasicInterval>
Note that this ordering would be inconsistent with equals if both objects
of type BasicInterval and MappedBasicInterval were contained
in the set. A comparison of a MappedBasicInterval with a BasicInterval may
consider both to be the same because their begin and end are the same but
the equals methods would not consider the objects as equal.
| Modifier | Constructor and Description |
|---|---|
private |
EndComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(BasicInterval b1,
BasicInterval b2) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongprivate EndComparator()
public int compare(BasicInterval b1, BasicInterval b2)
compare in interface Comparator<BasicInterval>