Range
Represents a mathematical range. See wikipedia article of interval.
Parameters
adapted guava range class
Properties
Functions
Returns true, if this range has a lower endpoint.
Returns true, if this range has an upper endpoint.
Returns the intersecting range of this range with the other connectedRange.
Returns true, if there exists a (possibly empty) range which is enclosed by both this range and other.
Returns the lower BoundType of this range.
Returns the lower endpoint, if this range has one; otherwise null is returned.
Returns the lower endpoint as result.
Conversion to RangeSet.
Returns the upper BoundType of this range.
Returns the upper endpoint, if this range has one; otherwise null is returned.
Returns the upper endpoint as result.
Widens the Range by wideningValue on the lower and upper bound.
Widens the lower bound of the Range by lowerWideningValue and the upper bound of the Range by upperWideningValue.