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 |
---|---|
ContiguousSet<C> |
Range.asSet(DiscreteDomain<C> domain)
Deprecated.
Use
ContiguousSet.create(range, domain) . To be removed in Guava 16.0. |
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. |
ContiguousSet<C> |
ContiguousSet.headSet(C toElement) |
ContiguousSet<C> |
ContiguousSet.headSet(C toElement,
boolean inclusive) |
abstract ContiguousSet<C> |
ContiguousSet.intersection(ContiguousSet<C> other)
Returns the set of values that are contained in both this set and the other.
|
ContiguousSet<C> |
ContiguousSet.subSet(C fromElement,
boolean fromInclusive,
C toElement,
boolean toInclusive) |
ContiguousSet<C> |
ContiguousSet.subSet(C fromElement,
C toElement) |
ContiguousSet<C> |
ContiguousSet.tailSet(C fromElement) |
ContiguousSet<C> |
ContiguousSet.tailSet(C fromElement,
boolean inclusive) |
Modifier and Type | Method and Description |
---|---|
abstract ContiguousSet<C> |
ContiguousSet.intersection(ContiguousSet<C> other)
Returns the set of values that are contained in both this set and the other.
|
Copyright © 2010-2013. All Rights Reserved.