The right endpoint of this interval where the left <= right
isLeftClosed
boolean isLeftClosed()
Returns:
True if this interval includes the left endpoint.
E.g., x >= foo indicates a left-closed interval starting with and including
foo. Conversely, x > foo is said to be left-open because the interface
starts with, but excludes foo i.e., there is no minimum value defined in
the interval, rather the interval is open with foo as the limit of minimum
values.
isRightClosed
boolean isRightClosed()
Returns:
True if this interval includes the right endpoint.
E.g., x <= foo indicates a right-closed interval ending with and including
foo. Conversely, x < foo is said to be right-open because the interface
ends with, but excludes foo i.e., there is no maximum value defined in the
interval, rather the interval is open with foo as the limit of maximum
values.
True if interval's endpoints are proper elements in the set of elements defining this interval.
isReverse
boolean isReverse()
Returns:
True if this interval iterates from the right by default e.g.,
if the interval is specified in reverse order: 10..1, Gosu will
create a reverse intervall