Home | History | Annotate | Download | only in collect

Lines Matching refs:elements

31  * may have duplicate elements. A multiset is also sometimes called a
34 * <p>Elements of a multiset that are equal to one another (see "Note on
51 * #elementSet} contains the distinct elements of the multiset "with duplicates
60 * given initial elements. This is simply a refinement of {@code Collection}'s
114 * implementation does not permit null elements. Note that if {@code
144 * implementation does not permit null elements. Note that if {@code
165 * implementation does not permit null elements. Note that if {@code
174 * Returns the set of distinct elements contained in this multiset. The
176 * either is immediately reflected in the other. The order of the elements in
185 * elements in the multiset: {@code elementSet().size()}.
187 * @return a view of the set of distinct elements in this multiset
196 * {@link #elementSet}). The order of the elements in the element set is
214 * Multiset#entrySet} method returns a view of the multiset whose elements
282 * elements with equal counts, regardless of order.
292 * over all distinct elements in the multiset. It follows that a multiset and
314 * <p>Elements that occur multiple times in the multiset will appear
338 * elements} being null or of the wrong type.
342 * true} even if {@code elements} contains several occurrences of an element
347 * @param elements the collection of elements to be checked for containment in
350 * each element contained in {@code elements}
351 * @throws NullPointerException if {@code elements} is null
353 boolean containsAll(Collection<?> elements);
368 * implementation does not permit null elements
391 * it <b>may not</b> throw an exception in response to any of {@code elements}
400 * it <b>may not</b> throw an exception in response to any of {@code elements}