- Author
- engreitz This class represents a single interval on a integer coordinate space.
| umms.core.annotation.SingleInterval.SingleInterval |
( |
| ) |
|
| umms.core.annotation.SingleInterval.SingleInterval |
( |
int |
start, |
|
|
int |
end |
|
) |
| |
| umms.core.annotation.SingleInterval.SingleInterval |
( |
Interval |
other | ) |
|
| int umms.core.annotation.SingleInterval.compareTo |
( |
SingleInterval |
other | ) |
|
| boolean umms.core.annotation.SingleInterval.contains |
( |
SingleInterval |
other | ) |
|
| boolean umms.core.annotation.SingleInterval.equals |
( |
SingleInterval |
other | ) |
|
| int umms.core.annotation.SingleInterval.getDistanceTo |
( |
SingleInterval |
other | ) |
|
- Parameters
-
- Returns
- 0 if overlapping, otherwise the minimum absolute distance from one to the other.
- Parameters
-
- Returns
- New interval of intersection; if they don't intersect, then returns null
| boolean umms.core.annotation.SingleInterval.overlaps |
( |
SingleInterval |
other | ) |
|
| String umms.core.annotation.SingleInterval.toString |
( |
| ) |
|
- Parameters
-
- Returns
- New interval spanning both intervals, including the space between them if they don't overlap
The documentation for this class was generated from the following file: