Example usage for Java com.google.common.collect RangeSet fields, constructors, methods, implement or subclass
The text is from its open source code.
void | add(Range Adds the specified range to this RangeSet (optional operation). |
void | addAll(RangeSet Adds all of the ranges from the specified range set to this range set (optional operation). |
Set | asDescendingSetOfRanges() Returns a descending view of the Range#isConnected disconnected ranges that make up this range set. |
Set | asRanges() Returns a view of the Range#isConnected disconnected ranges that make up this range set. |
void | clear() Removes all ranges from this RangeSet (optional operation). |
RangeSet | complement() Returns a view of the complement of this RangeSet . |
boolean | contains(C value) Determines whether any of this range set's member ranges contains value . |
boolean | encloses(Range Returns true if there exists a member range in this range set which Range#encloses encloses the specified range. |
boolean | isEmpty() Returns true if this range set contains no ranges. |
Range | rangeContaining(C value) Returns the unique range from this range set that Range#contains contains value , or null if this range set does not contain value . |
void | remove(Range Removes the specified range from this RangeSet (optional operation). |
void | removeAll(RangeSet Removes all of the ranges from the specified range set from this range set (optional operation). |
Range | span() Returns the minimal range which Range#encloses(Range) encloses all ranges in this range set. |
RangeSet | subRangeSet(Range Returns a view of the intersection of this RangeSet with the specified range. |