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 <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-2015. All Rights Reserved.