Range
Represents a mathematical range. See wikipedia article of interval.
Parameters
adapted guava range class
Constructors
Types
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.
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.
Extensions
Difference between the upper and lower bound of the Range.
Conversion to RangeSet.
Widens the lower bound of the Range by lowerWideningValue and the upper bound of the Range by upperWideningValue.
Widens the Range by wideningValue on the lower and upper bound.