ChromIntervalpublic interface IntInterval
Interface IntInterval represents an interval of
consecutive integers.
IntInterval are immutable.| Modifier and Type | Method | Description |
|---|---|---|
static java.util.Comparator<IntInterval> |
decEndComp() |
Returns a
Comparator<IntInterval> which orders
IntInterval objects in order of increasing this.start()
value and orders IntInterval objects with the same
this.start() value in order of decreasing this.end()
value. |
int |
end() |
Returns the end of the interval (inclusive).
|
static java.util.Comparator<IntInterval> |
incEndComp() |
Returns a
Comparator<IntInterval> which orders
IntInterval objects in order of increasing this.start()
value and orders IntInterval objects with the same
this.start() value in order of increasing this.end()
value. |
int |
start() |
Returns the start of the interval (inclusive).
|
int start()
int end()
static java.util.Comparator<IntInterval> incEndComp()
Comparator<IntInterval> which orders
IntInterval objects in order of increasing this.start()
value and orders IntInterval objects with the same
this.start() value in order of increasing this.end()
value.Comparator<IntInterval> objectstatic java.util.Comparator<IntInterval> decEndComp()
Comparator<IntInterval> which orders
IntInterval objects in order of increasing this.start()
value and orders IntInterval objects with the same
this.start() value in order of decreasing this.end()
value.Comparator<IntInterval> object