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 |
---|---|
static DiscreteDomain<Integer> |
DiscreteDomain.integers()
Returns the discrete domain for values of type
Integer . |
static DiscreteDomain<Integer> |
DiscreteDomains.integers()
Deprecated.
Returns the discrete domain for values of type
Integer . |
static DiscreteDomain<Long> |
DiscreteDomain.longs()
Returns the discrete domain for values of type
Long . |
static DiscreteDomain<Long> |
DiscreteDomains.longs()
Deprecated.
Returns the discrete domain for values of type
Long . |
Modifier and Type | Method and Description |
---|---|
ImmutableSortedSet<C> |
ImmutableRangeSet.asSet(DiscreteDomain<C> domain)
Returns an
ImmutableSortedSet containing the same values in the given domain
contained by this range set. |
ContiguousSet<C> |
Range.asSet(DiscreteDomain<C> domain)
Deprecated.
Use
ContiguousSet.create(range, domain) instead. |
Range<C> |
Range.canonical(DiscreteDomain<C> domain)
Returns the canonical form of this range in the given domain.
|
static <C extends Comparable> |
ContiguousSet.create(Range<C> range,
DiscreteDomain<C> domain)
Returns a
ContiguousSet containing the same values in the given domain
contained by the range. |
Copyright © 2010-2013. All Rights Reserved.