Changed Methods |
void add(Range<C> )
|
Changed from non-abstract to abstract.
|
Adds the specified range to this {@code RangeSet} (optional operation). |
void addAll(RangeSet<C> )
|
Changed from non-abstract to abstract.
|
Adds all of the ranges from the specified range set to this range set (optional operation). |
Set<Range<C>> asRanges()
|
Changed from non-abstract to abstract.
|
Returns a view of the Range#isConnected disconnected ranges that make up this
range set. |
void clear()
|
Changed from non-abstract to abstract.
|
Removes all ranges from this {@code RangeSet} (optional operation). |
RangeSet<C> complement()
|
Changed from non-abstract to abstract.
|
Returns a view of the complement of this {@code RangeSet}. |
boolean contains(C extends Comparable )
|
Changed from non-abstract to abstract.
|
Determines whether any of this range set's member ranges contains {@code value}. |
boolean encloses(Range<C> )
|
Changed from non-abstract to abstract.
|
Returns {@code true} if there exists a member range in this range set which
Range#encloses encloses the specified range. |
boolean enclosesAll(RangeSet<C> )
|
Changed from non-abstract to abstract.
|
Returns {@code true} if for each member range in {@code other} there exists a member range in
this range set which Range#encloses encloses it. |
boolean equals(Object )
|
Changed from non-abstract to abstract.
|
Returns {@code true} if {@code obj} is another {@code RangeSet} that contains the same ranges
according to Range.equals(Object). |
int hashCode()
|
Changed from non-abstract to abstract.
|
Returns {@code asRanges().hashCode()}. |
boolean isEmpty()
|
Changed from non-abstract to abstract.
|
Returns {@code true} if this range set contains no ranges. |
Range<C> rangeContaining(C extends Comparable )
|
Changed from non-abstract to abstract.
|
Returns the unique range from this range set that Range#contains contains
{@code value}, or {@code null} if this range set does not contain {@code value}. |
void remove(Range<C> )
|
Changed from non-abstract to abstract.
|
Removes the specified range from this {@code RangeSet} (optional operation). |
void removeAll(RangeSet<C> )
|
Changed from non-abstract to abstract.
|
Removes all of the ranges from the specified range set from this range set (optional
operation). |
Range<C> span()
|
Changed from non-abstract to abstract.
|
Returns the minimal range which Range#encloses(Range) encloses all ranges
in this range set. |
RangeSet<C> subRangeSet(Range<C> )
|
Changed from non-abstract to abstract.
|
Returns a view of the intersection of this {@code RangeSet} with the specified range. |
String toString()
|
Changed from non-abstract to abstract.
|
Returns a readable string representation of this range set. |