Home | History | Annotate | Download | only in collect

Lines Matching refs:occurrences

241   public int add(@Nullable E element, int occurrences) {
242 checkNonnegative(occurrences, "occurrences");
243 if (occurrences == 0) {
250 AvlNode<E> newRoot = new AvlNode<E>(element, occurrences);
256 AvlNode<E> newRoot = root.add(comparator(), element, occurrences, result);
262 public int remove(@Nullable Object element, int occurrences) {
263 checkNonnegative(occurrences, "occurrences");
264 if (occurrences == 0) {
276 newRoot = root.remove(comparator(), e, occurrences, result);