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