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> |
DiscreteDomains.integers()
Returns the discrete domain for values of type
Integer . |
static DiscreteDomain<Long> |
DiscreteDomains.longs()
Returns the discrete domain for values of type
Long . |
Modifier and Type | Method and Description |
---|---|
ContiguousSet<C> |
Range.asSet(DiscreteDomain<C> domain)
Returns an
ContiguousSet containing the same values in the given domain
contained by this range. |
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-2021. All Rights Reserved.