ImmutableSortedMultiset.Builder<E> |
ImmutableSortedMultiset.Builder.add(E element) |
Adds element to the ImmutableSortedMultiset .
|
ImmutableSortedMultiset.Builder<E> |
ImmutableSortedMultiset.Builder.add(E... elements) |
Adds each element of elements to the ImmutableSortedMultiset .
|
ImmutableSortedMultiset.Builder<E> |
ImmutableSortedMultiset.Builder.addAll(Iterable<? extends E> elements) |
Adds each element of elements to the ImmutableSortedMultiset .
|
ImmutableSortedMultiset.Builder<E> |
ImmutableSortedMultiset.Builder.addAll(Iterator<? extends E> elements) |
Adds each element of elements to the ImmutableSortedMultiset .
|
ImmutableSortedMultiset.Builder<E> |
ImmutableSortedMultiset.Builder.addCopies(E element,
int occurrences) |
Adds a number of occurrences of an element to this ImmutableSortedMultiset .
|
static <E> ImmutableSortedMultiset.Builder<E> |
ImmutableSortedMultiset.builder() |
Deprecated.
|
static <E extends Comparable<?>> ImmutableSortedMultiset.Builder<E> |
ImmutableSortedMultiset.naturalOrder() |
Returns a builder that creates immutable sorted multisets whose elements are ordered by their
natural ordering.
|
static <E> ImmutableSortedMultiset.Builder<E> |
ImmutableSortedMultiset.orderedBy(Comparator<E> comparator) |
Returns a builder that creates immutable sorted multisets with an explicit comparator.
|
static <E extends Comparable<?>> ImmutableSortedMultiset.Builder<E> |
ImmutableSortedMultiset.reverseOrder() |
Returns a builder that creates immutable sorted multisets whose elements are ordered by the
reverse of their natural ordering.
|
ImmutableSortedMultiset.Builder<E> |
ImmutableSortedMultiset.Builder.setCount(E element,
int count) |
Adds or removes the necessary occurrences of an element such that the element attains the
desired count.
|