Lines Matching defs:add
45 * bulk-modification operations, for example {@link #add(Object, int)}, to add
49 * #add(Object)} or {@link #remove(Object)} are encouraged to implement the
65 * implemented. Most implementations should support either all add operations
109 * #add(Object)}. This method is functionally equivalent (except in the case
113 * @param element the element to add occurrences of; may be null only if
115 * @param occurrences the number of occurrences of the element to add. May be
125 int add(@Nullable E element, int occurrences);
146 * @param element the element to add or remove occurrences of; may be null
189 * the multiset. Implementations are not expected to support the add
374 * <p>This method refines {@link Collection#add}, which only <i>ensures</i>
379 * @param element the element to add one occurrence of; may be null only if
389 boolean add(E element);