RangeSet whose contents will never change, with many other important properties
detailed at ImmutableCollection.
| Modifier and Type | Class and Description |
|---|---|
| private class | |
| private static class | |
| public static class | |
| private class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final ImmutableRangeSet | |
| private transient ImmutableRangeSet | |
| private static final ImmutableRangeSet | |
| private final transient ImmutableList |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | add(Range<C> range)
Overrides com. Implements com.
Deprecated
Unsupported operation.
Guaranteed to throw an exception and leave the RangeSet unmodified.
|
| public void | addAll(RangeSet<C> other)
Overrides com. Implements com.
Deprecated
Unsupported operation.
Guaranteed to throw an exception and leave the RangeSet unmodified.
|
| public void | addAll(Iterable<Range<C>> other)
Overrides default com.
Deprecated
Unsupported operation.
Guaranteed to throw an exception and leave the RangeSet unmodified.
|
| pack-priv static <C extends Comparable | |
| public ImmutableSet | asDescendingSetOfRanges()
Implements com. |
| public ImmutableSet | asRanges()
Implements com. |
| public ImmutableSortedSet | asSet(DiscreteDomain<C> domain)
Returns an |
| public static <C extends Comparable | |
| public ImmutableRangeSet | complement()
Implements com. RangeSet.
|
| public static <C extends Comparable | |
| public static <C extends Comparable | |
| public ImmutableRangeSet | difference(RangeSet<C> other)
Returns a new range set consisting of the difference of this range set and |
| public boolean | encloses(Range<C> otherRange)
Implements abstract com. Implements com. true if there exists a member range in this range set which encloses the specified range.
|
| public ImmutableRangeSet | intersection(RangeSet<C> other)
Returns a new range set consisting of the intersection of this range set and |
| private ImmutableList | intersectRanges(final Range<C> range)
Returns a list containing the nonempty intersections of |
| public boolean | intersects(Range<C> otherRange)
Overrides com. Implements com. true if there exists a non-empty range enclosed by both a member range in this
range set and the specified range.
|
| public boolean | isEmpty()
Overrides com. Implements com. true if this range set contains no ranges.
|
| pack-priv boolean | isPartialView()
Returns |
| public static <C extends Comparable | |
| public static <C extends Comparable | |
| public Range | rangeContaining(C value)
Implements abstract com. Implements com. value, or null if this range set does not contain value.
|
| private void | |
| public void | remove(Range<C> range)
Overrides com. Implements com.
Deprecated
Unsupported operation.
Guaranteed to throw an exception and leave the RangeSet unmodified.
|
| public void | removeAll(RangeSet<C> other)
Overrides com. Implements com.
Deprecated
Unsupported operation.
Guaranteed to throw an exception and leave the RangeSet unmodified.
|
| public void | removeAll(Iterable<Range<C>> other)
Overrides default com.
Deprecated
Unsupported operation.
Guaranteed to throw an exception and leave the RangeSet unmodified.
|
| public Range | span()
Implements com. |
| public ImmutableRangeSet | subRangeSet(Range<C> range)
Implements com. |
| public static <E extends Comparable | toImmutableRangeSet()
Returns a |
| public ImmutableRangeSet | |
| public static <C extends Comparable | |
| pack-priv Object |