| Package | Description |
|---|---|
| com.google.common.collect |
This package contains generic collection interfaces and implementations, and other utilities for working with collections.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ImmutableRangeSet<C extends Comparable
An efficient immutable implementation of a
RangeSet.
|
class |
TreeRangeSet<C extends Comparable
|
| Modifier and Type | Method and Description |
|---|---|
RangeSet |
RangeSet.complement()
Returns a view of the complement of this
RangeSet.
|
RangeSet |
TreeRangeSet.complement()
|
RangeSet |
RangeSet.subRangeSet(Range
Returns a view of the intersection of this
RangeSet with the specified range.
|
RangeSet |
TreeRangeSet.subRangeSet(Range
|
| Modifier and Type | Method and Description |
|---|---|
void |
ImmutableRangeSet.addAll(RangeSet
|
ImmutableRangeSet |
ImmutableRangeSet.Builder.addAll(RangeSet
Add all ranges from the specified range set to this builder.
|
void |
RangeSet.addAll(RangeSet
Adds all of the ranges from the specified range set to this range set (optional operation).
|
static <C extends Comparable |
ImmutableRangeSet.copyOf(RangeSet
Returns an immutable copy of the specified
RangeSet.
|
static <C extends Comparable |
TreeRangeSet.create(RangeSet
Returns a
TreeRangeSet initialized with the ranges in the specified range set.
|
boolean |
RangeSet.enclosesAll(RangeSet
Returns
true if for each member range in
other there exists a member range in this range set which
encloses it.
|
void |
ImmutableRangeSet.removeAll(RangeSet
|
void |
RangeSet.removeAll(RangeSet
Removes all of the ranges from the specified range set from this range set (optional operation).
|