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(java.lang.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(java.util.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 java.lang.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(java.util.Comparator<E> comparator) |
Returns a builder that creates immutable sorted sets with an explicit comparator.
|
static <E extends java.lang.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.
|