Home | History | Annotate | Download | only in collect

Lines Matching refs:occurrences

280   public final int add(E element, int occurrences) {
292 public final int remove(Object element, int occurrences) {
515 * Adds a number of occurrences of an element to this {@code
519 * @param occurrences the number of occurrences of the element to add. May
523 * @throws IllegalArgumentException if {@code occurrences} is negative, or
525 * occurrences of the element
527 public Builder<E> addCopies(E element, int occurrences) {
528 contents.add(checkNotNull(element), occurrences);
533 * Adds or removes the necessary occurrences of an element such that the
536 occurrences of