Package | Description |
---|---|
com.google.common.collect |
This package contains generic collection interfaces and implementations, and
other utilities for working with collections.
|
Modifier and Type | Method and Description |
---|---|
ImmutableRangeSet<C> |
ImmutableRangeSet.Builder.build()
Returns an
ImmutableRangeSet containing the ranges added to this builder. |
ImmutableRangeSet<C> |
ImmutableRangeSet.complement() |
static <C extends Comparable> |
ImmutableRangeSet.copyOf(RangeSet<C> rangeSet)
Returns an immutable copy of the specified
RangeSet . |
static <C extends Comparable> |
ImmutableRangeSet.of()
Returns an empty immutable range set.
|
static <C extends Comparable> |
ImmutableRangeSet.of(Range<C> range)
Returns an immutable range set containing the specified single range.
|
ImmutableRangeSet<C> |
ImmutableRangeSet.subRangeSet(Range<C> range)
Returns a view of the intersection of this range set with the given range.
|
Copyright © 2010-2014. All Rights Reserved.