|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ImmutableSortedSet.Builder | |
|---|---|
| com.google.common.collect | This package contains generic collection interfaces and implementations, and other utilities for working with collections. |
| Uses of ImmutableSortedSet.Builder in com.google.common.collect |
|---|
| Methods in com.google.common.collect that return ImmutableSortedSet.Builder | ||
|---|---|---|
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.add(E element)
Adds element to the ImmutableSortedSet. |
|
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
|
ImmutableSortedSet.naturalOrder()
Returns a builder that creates immutable sorted sets whose elements are ordered by their natural ordering. |
|
static
|
ImmutableSortedSet.orderedBy(Comparator<E> comparator)
Returns a builder that creates immutable sorted sets with an explicit comparator. |
|
static
|
ImmutableSortedSet.reverseOrder()
Returns a builder that creates immutable sorted sets whose elements are ordered by the reverse of their natural ordering. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||