- add
Adds the specified range to this RangeSet (optional operation). That is, for
equal range sets a and
- asRanges
Returns a view of the Range#isConnected ranges that make up this range set. The
returned set may be
- isEmpty
Returns true if this range set contains no ranges.
- complement
Returns a view of the complement of this RangeSet.The returned view supports the
#add operation if t
- encloses
Returns true if there exists a member range in this range set which
Range#encloses the specified ran
- contains
Determines whether any of this range set's member ranges contains value.
- removeAll
Removes all of the specified ranges from this range set (optional operation).
This is equivalent to
- remove
Removes the specified range from this RangeSet (optional operation). After this
operation, if range.
- addAll
Adds all of the specified ranges to this range set (optional operation). After
this operation, this
- subRangeSet
Returns a view of the intersection of this RangeSet with the specified range.The
returned view suppo
- span
Returns the minimal range which Range#encloses(Range) all ranges in this range
set.
- rangeContaining
Returns the unique range from this range set that Range#contains value, or null
if this range set do