| Package | Description |
|---|---|
| com.google.common.collect |
This package contains generic collection interfaces and implementations, and other utilities for working with collections.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ContiguousSet<C extends Comparable
A sorted set of contiguous values in a given
DiscreteDomain.
|
| Modifier and Type | Method and Description |
|---|---|
ImmutableSortedSet |
ImmutableRangeSet.asSet(DiscreteDomain
Returns an
ImmutableSortedSet containing the same values in the given domain
contained by this range set.
|
ImmutableSortedSet |
ImmutableSortedSet.Builder.build()
Returns a newly-created
ImmutableSortedSet based on the contents of the
Builder and its comparator.
|
static <E> ImmutableSortedSet |
ImmutableSortedSet.copyOf(Collection
Returns an immutable sorted set containing the given elements sorted by their natural ordering.
|
static <E> ImmutableSortedSet |
ImmutableSortedSet.copyOf(Comparator
Returns an immutable sorted set containing the given elements sorted by the given
Comparator.
|
static <E> ImmutableSortedSet |
ImmutableSortedSet.copyOf(Comparator
Returns an immutable sorted set containing the given elements sorted by the given
Comparator.
|
static <E> ImmutableSortedSet |
ImmutableSortedSet.copyOf(Comparator
Returns an immutable sorted set containing the given elements sorted by the given
Comparator.
|
static <E extends Comparable |
ImmutableSortedSet.copyOf(E[] elements)
Returns an immutable sorted set containing the given elements sorted by their natural ordering.
|
static <E> ImmutableSortedSet |
ImmutableSortedSet.copyOf(Iterable
Returns an immutable sorted set containing the given elements sorted by their natural ordering.
|
static <E> ImmutableSortedSet |
ImmutableSortedSet.copyOf(Iterator
Returns an immutable sorted set containing the given elements sorted by their natural ordering.
|
static <E> ImmutableSortedSet |
ImmutableSortedSet.copyOfSorted(SortedSet
Returns an immutable sorted set containing the elements of a sorted set, sorted by the same
Comparator.
|
ImmutableSortedSet |
ImmutableSortedMap.descendingKeySet()
|
ImmutableSortedSet |
ImmutableSortedSet.descendingSet()
|
abstract ImmutableSortedSet |
ImmutableSortedMultiset.elementSet()
|
ImmutableSortedSet |
ImmutableSortedSet.headSet(E toElement)
|
ImmutableSortedSet |
ImmutableSortedSet.headSet(E toElement, boolean inclusive)
|
abstract ImmutableSortedSet |
ImmutableSortedMap.keySet()
Returns an immutable sorted set of the keys in this map.
|
ImmutableSortedSet |
ImmutableSortedMap.navigableKeySet()
|
static <E> ImmutableSortedSet |
ImmutableSortedSet.of()
Returns the empty immutable sorted set.
|
static <E extends Comparable |
ImmutableSortedSet.of(E element)
Returns an immutable sorted set containing a single element.
|
static <E extends Comparable |
ImmutableSortedSet.of(E e1, E e2)
Returns an immutable sorted set containing the given elements sorted by their natural ordering.
|
static <E extends Comparable |
ImmutableSortedSet.of(E e1, E e2, E e3)
Returns an immutable sorted set containing the given elements sorted by their natural ordering.
|
static <E extends Comparable |
ImmutableSortedSet.of(E e1, E e2, E e3, E e4)
Returns an immutable sorted set containing the given elements sorted by their natural ordering.
|
static <E extends Comparable |
ImmutableSortedSet.of(E e1, E e2, E e3, E e4, E e5)
Returns an immutable sorted set containing the given elements sorted by their natural ordering.
|
static <E extends Comparable |
ImmutableSortedSet.of(E e1, E e2, E e3, E e4, E e5, E e6, E... remaining)
Returns an immutable sorted set containing the given elements sorted by their natural ordering.
|
ImmutableSortedSet |
ImmutableSortedSet.subSet(E fromElement, boolean fromInclusive, E toElement, boolean toInclusive)
|
ImmutableSortedSet |
ImmutableSortedSet.subSet(E fromElement, E toElement)
|
ImmutableSortedSet |
ImmutableSortedSet.tailSet(E fromElement)
|
ImmutableSortedSet |
ImmutableSortedSet.tailSet(E fromElement, boolean inclusive)
|
ImmutableSortedSet |
FluentIterable.toSortedSet(Comparator
Returns an
ImmutableSortedSet containing all of the elements from this
FluentIterable in the order specified by
comparator, with duplicates (determined by
comparator.compare(x, y) == 0) removed.
|