Lines Matching refs:elements
35 * A multiset which maintains the ordering of its elements, according to either
55 * Creates a new, empty multiset, sorted according to the elements' natural
56 * order. All elements inserted into the multiset must implement the
57 * {@code Comparable} interface. Furthermore, all such elements must be
59 * {@code ClassCastException} for any elements {@code e1} and {@code e2} in
62 * element to a set whose elements are integers), the {@code add(Object)}
76 * comparator. All elements inserted into the multiset must be <i>mutually
78 * e2)} must not throw a {@code ClassCastException} for any elements {@code
84 * null value indicates that the elements' <i>natural ordering</i> should
92 * Creates an empty multiset containing the given initial elements, sorted
93 * according to the elements' natural order.
101 Iterable<? extends E> elements) {
103 Iterables.addAll(multiset, elements);
195 * @serialData the comparator, the number of distinct elements, the first