Modifier and Type | Method and Description |
---|---|
Range |
Range.intersect(Range other)
Returns a new range formed by the intersection of this range and the
specified range.
|
Modifier and Type | Method and Description |
---|---|
int |
Range.compareTo(Range other)
Compares this range to another range.
|
Range |
Range.intersect(Range other)
Returns a new range formed by the intersection of this range and the
specified range.
|
boolean |
Range.overlaps(Range other)
Checks if this range overlaps with another range.
|