public interface IntInterval
Interface IntInterval
represents an interval of
consecutive integers.
IntInterval
are immutable.Modifier and Type | Method and Description |
---|---|
int |
end()
Returns the end of the interval (inclusive).
|
int |
start()
Returns the start of the interval (inclusive).
|