| 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 |
|---|---|
ImmutableSortedSet |
ImmutableSortedSet.Builder.add(E... elements)
Adds each element of
elements to the
ImmutableSortedSet, ignoring duplicate elements (only the first duplicate element is added).
|
ImmutableSortedSet |
ImmutableSortedSet.Builder.add(E element)
Adds
element to the
ImmutableSortedSet.
|
ImmutableSortedSet |
ImmutableSortedSet.Builder.addAll(Iterable
Adds each element of
elements to the
ImmutableSortedSet, ignoring duplicate elements (only the first duplicate element is added).
|
ImmutableSortedSet |
ImmutableSortedSet.Builder.addAll(Iterator
Adds each element of
elements to the
ImmutableSortedSet, ignoring duplicate elements (only the first duplicate element is added).
|
static <E> ImmutableSortedSet |
ContiguousSet.builder()
|
static <E extends Comparable |
ImmutableSortedSet.naturalOrder()
Returns a builder that creates immutable sorted sets whose elements are ordered by their natural ordering.
|
static <E> ImmutableSortedSet |
ImmutableSortedSet.orderedBy(Comparator
Returns a builder that creates immutable sorted sets with an explicit comparator.
|
static <E extends Comparable |
ImmutableSortedSet.reverseOrder()
Returns a builder that creates immutable sorted sets whose elements are ordered by the reverse of their natural ordering.
|