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(java.lang.Iterable<? extends E> elements) |
Adds each element of elements to the ImmutableSortedMultiset .
|
ImmutableSortedMultiset.Builder<E> |
ImmutableSortedMultiset.Builder.addAll(java.util.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 extends java.lang.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(java.util.Comparator<E> comparator) |
Returns a builder that creates immutable sorted multisets with an explicit comparator.
|
static <E extends java.lang.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.
|