static <C extends java.lang.Comparable<?>> Range<C> |
Range.all() |
Returns a range that contains every value of type C .
|
static <C extends java.lang.Comparable<?>> Range<C> |
Ranges.all() |
Deprecated.
Returns a range that contains every value of type C .
|
static <C extends java.lang.Comparable<?>> Range<C> |
Range.atLeast(C endpoint) |
Returns a range that contains all values greater than or equal to
endpoint .
|
static <C extends java.lang.Comparable<?>> Range<C> |
Ranges.atLeast(C endpoint) |
Deprecated.
Returns a range that contains all values greater than or equal to
endpoint .
|
static <C extends java.lang.Comparable<?>> Range<C> |
Range.atMost(C endpoint) |
Returns a range that contains all values less than or equal to
endpoint .
|
static <C extends java.lang.Comparable<?>> Range<C> |
Ranges.atMost(C endpoint) |
Deprecated.
Returns a range that contains all values less than or equal to
endpoint .
|
Range<C> |
Range.canonical(DiscreteDomain<C> domain) |
Returns the canonical form of this range in the given domain.
|
static <C extends java.lang.Comparable<?>> Range<C> |
Range.closed(C lower,
C upper) |
Returns a range that contains all values greater than or equal to
lower and less than or equal to upper .
|
static <C extends java.lang.Comparable<?>> Range<C> |
Ranges.closed(C lower,
C upper) |
Deprecated.
Returns a range that contains all values greater than or equal to
lower and less than or equal to upper .
|
static <C extends java.lang.Comparable<?>> Range<C> |
Range.closedOpen(C lower,
C upper) |
Returns a range that contains all values greater than or equal to
lower and strictly less than upper .
|
static <C extends java.lang.Comparable<?>> Range<C> |
Ranges.closedOpen(C lower,
C upper) |
Deprecated.
Returns a range that contains all values greater than or equal to
lower and strictly less than upper .
|
static <C extends java.lang.Comparable<?>> Range<C> |
Range.downTo(C endpoint,
BoundType boundType) |
Returns a range from the given endpoint, which may be either inclusive
(closed) or exclusive (open), with no upper bound.
|
static <C extends java.lang.Comparable<?>> Range<C> |
Ranges.downTo(C endpoint,
BoundType boundType) |
Deprecated.
Returns a range from the given endpoint, which may be either inclusive
(closed) or exclusive (open), with no upper bound.
|
static <C extends java.lang.Comparable<?>> Range<C> |
Range.encloseAll(java.lang.Iterable<C> values) |
Returns the minimal range that
contains all of the given values.
|
static <C extends java.lang.Comparable<?>> Range<C> |
Ranges.encloseAll(java.lang.Iterable<C> values) |
Deprecated.
Returns the minimal range that
contains all of the given values.
|
static <C extends java.lang.Comparable<?>> Range<C> |
Range.greaterThan(C endpoint) |
Returns a range that contains all values strictly greater than
endpoint .
|
static <C extends java.lang.Comparable<?>> Range<C> |
Ranges.greaterThan(C endpoint) |
Deprecated.
Returns a range that contains all values strictly greater than
endpoint .
|
Range<C> |
Range.intersection(Range<C> connectedRange) |
Returns the maximal range enclosed by both this range and
connectedRange , if such a range exists.
|
static <C extends java.lang.Comparable<?>> Range<C> |
Range.lessThan(C endpoint) |
Returns a range that contains all values strictly less than
endpoint .
|
static <C extends java.lang.Comparable<?>> Range<C> |
Ranges.lessThan(C endpoint) |
Deprecated.
Returns a range that contains all values strictly less than
endpoint .
|
static <C extends java.lang.Comparable<?>> Range<C> |
Range.open(C lower,
C upper) |
Returns a range that contains all values strictly greater than
lower and strictly less than upper .
|
static <C extends java.lang.Comparable<?>> Range<C> |
Ranges.open(C lower,
C upper) |
Deprecated.
Returns a range that contains all values strictly greater than
lower and strictly less than upper .
|
static <C extends java.lang.Comparable<?>> Range<C> |
Range.openClosed(C lower,
C upper) |
Returns a range that contains all values strictly greater than
lower and less than or equal to upper .
|
static <C extends java.lang.Comparable<?>> Range<C> |
Ranges.openClosed(C lower,
C upper) |
Deprecated.
Returns a range that contains all values strictly greater than
lower and less than or equal to upper .
|
abstract Range<C> |
ContiguousSet.range() |
Returns a range, closed on both ends, whose endpoints are the minimum and maximum values
contained in this set.
|
abstract Range<C> |
ContiguousSet.range(BoundType lowerBoundType,
BoundType upperBoundType) |
Returns the minimal range with the given boundary types for which all values in this set are
contained within the range.
|
static <C extends java.lang.Comparable<?>> Range<C> |
Range.range(C lower,
BoundType lowerType,
C upper,
BoundType upperType) |
Returns a range that contains any value from lower to
upper , where each endpoint may be either inclusive (closed) or exclusive
(open).
|
static <C extends java.lang.Comparable<?>> Range<C> |
Ranges.range(C lower,
BoundType lowerType,
C upper,
BoundType upperType) |
Deprecated.
Returns a range that contains any value from lower to
upper , where each endpoint may be either inclusive (closed) or exclusive
(open).
|
Range<C> |
ImmutableRangeSet.rangeContaining(C value) |
|
Range<C> |
RangeSet.rangeContaining(C value) |
Returns the unique range from this range set that contains
value , or null if this range set does not contain value .
|
Range<C> |
TreeRangeSet.rangeContaining(C value) |
|
static <C extends java.lang.Comparable<?>> Range<C> |
Range.singleton(C value) |
Returns a range that contains only
the given value.
|
static <C extends java.lang.Comparable<?>> Range<C> |
Ranges.singleton(C value) |
Deprecated.
Returns a range that contains only
the given value.
|
Range<K> |
ImmutableRangeMap.span() |
|
Range<C> |
ImmutableRangeSet.span() |
|
Range<C> |
Range.span(Range<C> other) |
Returns the minimal range that encloses both this range and
other .
|
Range<K> |
RangeMap.span() |
Returns the minimal range enclosing the ranges
in this RangeMap .
|
Range<C> |
RangeSet.span() |
Returns the minimal range which encloses all ranges
in this range set.
|
Range<K> |
TreeRangeMap.span() |
|
Range<C> |
TreeRangeSet.span() |
|
static <C extends java.lang.Comparable<?>> Range<C> |
Range.upTo(C endpoint,
BoundType boundType) |
Returns a range with no lower bound up to the given endpoint, which may be
either inclusive (closed) or exclusive (open).
|
static <C extends java.lang.Comparable<?>> Range<C> |
Ranges.upTo(C endpoint,
BoundType boundType) |
Deprecated.
Returns a range with no lower bound up to the given endpoint, which may be
either inclusive (closed) or exclusive (open).
|